cloud native devops with cloud.gov workshop

29
Cloud Native DevOps with

Upload: dlapiduz

Post on 12-Apr-2017

179 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Cloud Native DevOps with cloud.gov Workshop

Cloud Native DevOpswith

Page 2: Cloud Native DevOps with cloud.gov Workshop

Who

• Adrian Webb

• Aidan Feldman

• Bret Mogilefsky

• Diego Lapiduz

Page 3: Cloud Native DevOps with cloud.gov Workshop

What is DevOps?

What is the cloud?

What is cloud native?

How can I get to cloud native?

What does DevOps for Government mean?

What is cloud.gov?

How do I use cloud.gov?

Today

Page 4: Cloud Native DevOps with cloud.gov Workshop

DevOps

Page 5: Cloud Native DevOps with cloud.gov Workshop

What is DevOps?• Mindset

• Empathy between teams

• Increase speed and reliability of delivery

• Enabled by tools and automation

• Not just about Dev and Ops

Page 6: Cloud Native DevOps with cloud.gov Workshop

Not just about Dev and Ops

• Increased communication

• Shared responsibility

• (Automated) feedback loops

• Agile delivery

Page 7: Cloud Native DevOps with cloud.gov Workshop

DevOps in Government

Page 8: Cloud Native DevOps with cloud.gov Workshop

DevSecCompOps

• Development

• Security

• Compliance

• Operations

Page 9: Cloud Native DevOps with cloud.gov Workshop

DevOps in Government• Move at the speed of innovation

• Lower costs

• Increase resiliency and security

• Improve documentation and repeatability

• Have fun

Page 10: Cloud Native DevOps with cloud.gov Workshop

What is the ☁ ?

Page 11: Cloud Native DevOps with cloud.gov Workshop

What is the cloud?

• * as a service

• No control over the physical servers

• APIs for configuration and changes

• Higher level services (DBaaS, User Mgmt)

Page 12: Cloud Native DevOps with cloud.gov Workshop

👍☁

• Scales infinitely

• Easy to automate

• Close to zero provision time

• No up-front fees

• Testing new tools is cheap and encouraged

• Reduced specialization across teams

Page 13: Cloud Native DevOps with cloud.gov Workshop

👎☁

• Hard to predict costs

• Shared infrastructure

• Provider-specific features - vendor lock-in

• Lower reliability

Page 14: Cloud Native DevOps with cloud.gov Workshop

What is cloud native?

Page 15: Cloud Native DevOps with cloud.gov Workshop

• 12 factor

• Horizontally Scalable

• Failure tolerant

What is a cloud native app?

Page 16: Cloud Native DevOps with cloud.gov Workshop

• I. CodebaseOne codebase tracked in revision control, many deploys

• II. Dependencies Explicitly declare and isolate dependencies

• III. ConfigStore config in the environment

• IV. Backing ServicesTreat backing services as attached resources

• V. Build, release, run Strictly separate build and run stages

• VI. Processes Execute the app as one or more stateless processes

• VII. Port bindingExport services via port binding

• VIII. Concurrency Scale out via the process model

• IX. DisposabilityMaximize robustness with fast startup and graceful shutdown

• X. Dev/prod parityKeep development, staging, and production as similar as possible

• XI. LogsTreat logs as event streams

• XII. Admin processesRun admin/management tasks as one-off processes

12 factor

Page 17: Cloud Native DevOps with cloud.gov Workshop

How can I get to cloud native?

Page 18: Cloud Native DevOps with cloud.gov Workshop

• Microservices (or SOA)

• Multiple layers of caching

• Queue based tasks

• Health checks and failsafes

• Continuous delivery

• Configuration as code

How to get there?

Page 19: Cloud Native DevOps with cloud.gov Workshop

Demo

Page 20: Cloud Native DevOps with cloud.gov Workshop
Page 21: Cloud Native DevOps with cloud.gov Workshop

• Platform as a Service

• Support for Ruby, Java, PHP, Python and others

• Shared services: mysql, postgresql, redis, elasticsearch

• Logging, auditing, authentication and permissions are built in

• Common compliance up to the application layer

Page 22: Cloud Native DevOps with cloud.gov Workshop

Some concepts:

• Organization / Space / Application / Instance

• Buildpack

• Services / Marketplace

Page 23: Cloud Native DevOps with cloud.gov Workshop

How do I use it?

Page 24: Cloud Native DevOps with cloud.gov Workshop

• Create an account

• Download cf cli

• git clone https://github.com/18F/cf-hello-worlds.git

• (choose one)

• cf login -a api.cloud.gov

• cf push <name>-hello

How do I use it?

Page 25: Cloud Native DevOps with cloud.gov Workshop

Demo

Page 26: Cloud Native DevOps with cloud.gov Workshop

Questions?

Page 27: Cloud Native DevOps with cloud.gov Workshop

Break

Page 28: Cloud Native DevOps with cloud.gov Workshop

Hands on

workshop.cloud.govdocs.cloud.gov

Page 29: Cloud Native DevOps with cloud.gov Workshop

Thanks!