SlideShare a Scribd company logo
DOCKER IN PRODUCTION:
HOW RIGHTSCALE DELIVERS
CLOUD APPLICATIONS
Panelists
• Tim Miller: Moderator
• VP Engineering
• Tony Spataro
• Senior Systems Architect
• Mark Dotson
• Principal System Administrator
Agenda
• Docker Level-Set
• Three Approaches to Using Docker
• RightScale Plan of Attack
• Development to Production
• Before and After
• Next Steps
• Q&A
POLLING QUESTIONS
3
2015 DevOps Tools – All Respondents
3%
6%
10%
13%
24%
28%
11%
10%
10%
35%
19%
18%
0% 20% 40% 60% 80% 100%
Rocket
Salt
Ansible
Docker
Puppet
Chef
Respondents Using DevOps Tools
Use today
Plan to use
Source: RightScale 2015 State of the Cloud Report
• User-friendly wrapper for cgroups
• Nice CLI
• Novel isolation features
• Overlay filesystem
• Virtual network interface
• Packaging, distribution, reusability
• Image registries (e.g. DockerHub)
• Image metadata
What is Docker?
5
ubuntu ubuntu ubuntu
security security security
ruby ruby apache
app1 app2 rw
rw rw
Containers vs. Processes
6
MEMPGMregs
proc
MEMregs
proc
/etc
/lib
/bin
MEMregs
proc
/etc
/lib
/bin
limit
textbook process real process container
Docker Image Metadata Explained
7
 Complain to this guy
 You can tune this setting
 I offer a network service
 I need persistent storage
 I specialize my base image like this
 Invoke me like this
 I’m derived from this base image
3 DOCKER USE CASES
• Architectural role of
VMs doesn’t change
• Deploy 1 app container
onto each VM
• Additional services can
live outside container
Containerize Code
9
syslog smtp
my-awesome-app
Application Server 1..n
Container
No container
nginx
• Simplifies config management
• Package messy apps
• Speed up deployment (installs at
container build time)
• Enhance app reliability (through better
isolation)
• Hot-swappable apps (zero-downtime)
Benefits Drawbacks
• Poor resource utilization (maybe)
• Services shared with host machine
• Config management required on host
machine
Containerize Code
10
• Deploy N containers
onto a VM
• Host-local network
• Declarative
dependencies
• Great for microservices
architecture
Compose Applications
11
Application Server 1..n
nginx
my-awesome-app
smtp
syslog
• Everything is a service
• Reusable app components
• Simple orchestration for free
Benefits Drawbacks
• Moderate up-front investment
• Complicates hot-swapping
• Complicates config management
• Complicates fault tolerance
• Brittle (all-or-nothing fail/replace)
Compose Applications
12
Deploy a Sea of Containers
13
VM VM VM
A A A
A A
A
C C
B B
B B
VM VM VM
A A A
C C
A A A
C C
B B B
B B
Container Management
B • N(×M) containers
• 0..N VMs
• Elastic mesh network
• Declarative
everything
• Resource scheduling
A A
• Cost efficiency
• Elasticity
Benefits Drawbacks
• Large up-front investment
• Hard to manage & monitor
• Beta-quality (rough edges)
Deploy a Sea of Containers
14
RIGHTSCALE
PLAN OF ATTACK
1. Research spike
• Play with tech
• Find limitations
• Identify workarounds
1. Development & Test
• Suite of microservices
• Continuous integration
1. Production for a small, new-ish app
Docker Plan of Attack: Baby Steps
16
• Maintain High Availability and SLAs
• No negative impact on developer productivity
• Integrate with existing production tools (monitoring, alerting,
orchestration)
• Integrate with existing non-docker apps as seamlessly as
possible
Constraints
17
Conclusion: Containerize our Code
1. Dead simple for DevOps and Dev to understand
2. Low investment; immediate return
3. 100% compatible with existing production tools
Choosing an Approach
18
DEVELOPMENT TO
PRODUCTION
About Server Templates
• Curated base images
• Wanted to have known images provided by Ops
• We modify ubuntu-provided images with common app needs
• Git, maketools, etc.
• Patching schedule
• Even Docker images must fulfill security-patching SLA
• Base images rebuilt daily w/latest upstream patches
• Respond to disclosures by rebuilding application images
Preparation
21
• Application manifest (“all the files?!”) for dockerfile
• Watch for hidden OS dependencies (e.g. system calls to “mail”)
• Service Dependencies
• Inputs (e.g. how many workers)
• Secrets
Development: What it Means to Dockerize
22
Interface Contract between
Ops and Devs
Branching Workflow
production
Branching Workflow: Dockerized
24
master
staging
production
rightscale/my_app:latest
rightscale/my_app:staging
rightscale/my_app:production
Docker imageGit commit Image build
Continuous Integration
GitHub
Repo
Unit & Functional Tests
Fetch dependencies
Pass?
Integration TestsPass?
Deploy Cloud Infrastructure
with RightScale
Continuous Integration
Success email
Continuous Integration: Dockerized
26
GitHub
Repo
Unit & Functional Tests
Fetch dependencies
Pass?
docker builddocker push Integration TestsPass?
Deploy Cloud Infrastructure
with RightScale
DockerHub
Continuous Integration
docker
daemon
Docker Build Farm in the Cloud
docker
daemon
Local Image
Store
Deploy Cloud Infrastructure
with RightScale
• Significant departure from non-Docker workflow
• Only CI can build images
• No image unless unit/functional tests pass
• Must use team integration branch (no image per feature branch)
• Benefits of always building Docker images in CI:
• Less burden on developers (no Docker running on laptop)
• Uniform, reproducible build procedure
• Quality Assurance: not much change
• Acceptance/regression tests simulate end-user gestures
• Docker changes nothing from the end-user perspective
Continuous Integration: Key Differences
27
• Large undertaking
• Same procedure
• Unexpected benefits!
Weekly Release
28
• System monitoring: more of the same
• Throw some more more metrics onto the stack
• Alert when containers look funny
• Application monitoring: novel challenges
• More containment = less transparency
• docker exec to the rescue?
• Single collection, analysis & alerting infrastructure
• Avoid “split-brain” syndrome
After Release: Sustaining Operations
29
B.D. AND A.D.
BEFORE DOCKER
AND
AFTER DOCKER
30
Before After
Dozens of ServerTemplates Two ServerTemplates overall
Apps that share ServerTemplates,
share runtime dependencies
Each app precisely controls its runtime
dependencies
Dozens of inputs in RS dashboard Two places for inputs
RS: fine adjustments + secrets
Git: coarse adjustments
10-20 minute provisioning
Install management boilerplate
Install lang. runtime, libraries, etc
6-10 minute provisioning
Install boilerplate; Docker; done!
New bottleneck: DockerHub
Rolling-restart dance Fire-and-forget deploy gun
Benefits to DevOps
31
Before After
“Ask Ops” mentality “I built this” mentality
Can’t touch staging Free to tinker in staging
Can’t debug Debug any time, anywhere
(not strictly thanks to Docker)
Benefits to Developers
32
• eBook: Continuous Integration and Delivery: How RightScale
Does It
• http://www.rightscale.com/ci-cd-ebook
• Free Trial for RightScale
• https://www.rightscale.com/free-trial
• Sample RightScale ServerTemplate
• http://goo.gl/CjxELA
Q&A
33
THANK YOU.
NEXT STEPS
35
• Intelligent containers
• Self-defined monitoring metrics
• Self-defined alerts
• Intelligent alerts
• Tune boundary conditions on the fly
• Squelch/enable alerts as operational state changes
• Whole-service monitoring
• Aggregate datapoints of all nodes running an app
• Alert on overall QoS & availability
Monitoring
36
• Enable it (but don’t force-fit)
• ServerTemplate: 1 page
• Cloud Application Template: 1 book
• How to do it in production?
• …and still save money?
• “Microservices on a stick”
• Strong potential
• Limited use cases: brittle, monolithic
Composition
37
syslog
smtp
my-awesome-app
nginx
application server (1..n)
• Service discovery
• Self-healing applications
• Enabled by whole-system monitoring
• Like elastic scaling, but for other concerns
Orchestration
38

More Related Content

What's hot

MongoDB-as-a-Service on Pivotal Cloud Foundry
MongoDB-as-a-Service on Pivotal Cloud FoundryMongoDB-as-a-Service on Pivotal Cloud Foundry
MongoDB-as-a-Service on Pivotal Cloud Foundry
VMware Tanzu
 
ITLCHN 18 - Automation & DevOps - Automic
ITLCHN 18 -  Automation & DevOps - AutomicITLCHN 18 -  Automation & DevOps - Automic
ITLCHN 18 - Automation & DevOps - Automic
IT Expert Club
 
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
VMware Tanzu
 
How Comcast Transformed the Product Delivery Experience
How Comcast Transformed the Product Delivery Experience How Comcast Transformed the Product Delivery Experience
How Comcast Transformed the Product Delivery Experience
VMware Tanzu
 
API and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep diveAPI and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep dive
Cisco DevNet
 
Breaking the Monolith
Breaking the MonolithBreaking the Monolith
Breaking the Monolith
VMware Tanzu
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kit
solarisyougood
 
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
RightScale
 
The Twelve-Factor App
The Twelve-Factor AppThe Twelve-Factor App
The Twelve-Factor App
Simon Vocella
 
Cloud Native Application Development
Cloud Native Application DevelopmentCloud Native Application Development
Cloud Native Application Development
Siva Rama Krishna Chunduru
 
Cloud Native Applications Maturity Model
Cloud Native Applications Maturity ModelCloud Native Applications Maturity Model
Cloud Native Applications Maturity Model
Jim Bugwadia
 
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
VMware Tanzu
 
How Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWSHow Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWS
Atlassian
 
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
Chris Haddad
 
Architect your app modernization journey with containers on Microsoft Azure
Architect your app modernization journey with containers on Microsoft AzureArchitect your app modernization journey with containers on Microsoft Azure
Architect your app modernization journey with containers on Microsoft Azure
Davide Benvegnù
 
Using cloud native development to achieve digital transformation
Using cloud native development to achieve digital transformationUsing cloud native development to achieve digital transformation
Using cloud native development to achieve digital transformation
Uni Systems S.M.S.A.
 
Quantifying the Benefits of Cloud Foundry
Quantifying the Benefits of Cloud FoundryQuantifying the Benefits of Cloud Foundry
Quantifying the Benefits of Cloud Foundry
Altoros
 
How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...
Eficode
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_development
Dr. Wilfred Lin (Ph.D.)
 
VMworld 2014 Announcements
VMworld 2014 AnnouncementsVMworld 2014 Announcements
VMworld 2014 Announcements
Brendan Rose
 

What's hot (20)

MongoDB-as-a-Service on Pivotal Cloud Foundry
MongoDB-as-a-Service on Pivotal Cloud FoundryMongoDB-as-a-Service on Pivotal Cloud Foundry
MongoDB-as-a-Service on Pivotal Cloud Foundry
 
ITLCHN 18 - Automation & DevOps - Automic
ITLCHN 18 -  Automation & DevOps - AutomicITLCHN 18 -  Automation & DevOps - Automic
ITLCHN 18 - Automation & DevOps - Automic
 
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
The Power of Partnership & Building a Cloud Native Tier-1 Platform in Paralle...
 
How Comcast Transformed the Product Delivery Experience
How Comcast Transformed the Product Delivery Experience How Comcast Transformed the Product Delivery Experience
How Comcast Transformed the Product Delivery Experience
 
API and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep diveAPI and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep dive
 
Breaking the Monolith
Breaking the MonolithBreaking the Monolith
Breaking the Monolith
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kit
 
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
RightScale Webinar: Continuous Integration and Delivery in the Cloud - How Ri...
 
The Twelve-Factor App
The Twelve-Factor AppThe Twelve-Factor App
The Twelve-Factor App
 
Cloud Native Application Development
Cloud Native Application DevelopmentCloud Native Application Development
Cloud Native Application Development
 
Cloud Native Applications Maturity Model
Cloud Native Applications Maturity ModelCloud Native Applications Maturity Model
Cloud Native Applications Maturity Model
 
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
Lo Scenario Cloud-Native (Pivotal Cloud-Native Workshop: Milan)
 
How Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWSHow Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWS
 
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
Driving Enterprise Architecture Redesign: Cloud-Native Platforms, APIs, and D...
 
Architect your app modernization journey with containers on Microsoft Azure
Architect your app modernization journey with containers on Microsoft AzureArchitect your app modernization journey with containers on Microsoft Azure
Architect your app modernization journey with containers on Microsoft Azure
 
Using cloud native development to achieve digital transformation
Using cloud native development to achieve digital transformationUsing cloud native development to achieve digital transformation
Using cloud native development to achieve digital transformation
 
Quantifying the Benefits of Cloud Foundry
Quantifying the Benefits of Cloud FoundryQuantifying the Benefits of Cloud Foundry
Quantifying the Benefits of Cloud Foundry
 
How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...
 
B3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_developmentB3 getting started_with_cloud_native_development
B3 getting started_with_cloud_native_development
 
VMworld 2014 Announcements
VMworld 2014 AnnouncementsVMworld 2014 Announcements
VMworld 2014 Announcements
 

Similar to Docker in Production: How RightScale Delivers Cloud Applications

Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
Karthik Gaekwad
 
Использование AzureDevOps при разработке микросервисных приложений
Использование AzureDevOps при разработке микросервисных приложенийИспользование AzureDevOps при разработке микросервисных приложений
Использование AzureDevOps при разработке микросервисных приложений
Vitebsk Miniq
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for Realists
Oracle Developers
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
Karthik Gaekwad
 
Where and When to Docker
Where and When to DockerWhere and When to Docker
Where and When to Docker
dantheelder
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013dotCloud
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
WaveMaker, Inc.
 
Docker 101
Docker 101Docker 101
Docker12 factor
Docker12 factorDocker12 factor
Docker12 factor
John Zaccone
 
Cont0519
Cont0519Cont0519
Cont0519
Samuel Dratwa
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
Patrick Chanezon
 
Docker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOpsDocker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOps
Zohar Elkayam
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
Andrew Ferrier
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
Peng Xiao
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
Jeffrey Ellin
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
Brian Christner
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
Alex Vranceanu
 

Similar to Docker in Production: How RightScale Delivers Cloud Applications (20)

Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
Использование AzureDevOps при разработке микросервисных приложений
Использование AzureDevOps при разработке микросервисных приложенийИспользование AzureDevOps при разработке микросервисных приложений
Использование AzureDevOps при разработке микросервисных приложений
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for Realists
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Where and When to Docker
Where and When to DockerWhere and When to Docker
Where and When to Docker
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Docker 101
Docker 101Docker 101
Docker 101
 
Docker12 factor
Docker12 factorDocker12 factor
Docker12 factor
 
Cont0519
Cont0519Cont0519
Cont0519
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
OpenStack Summit
OpenStack SummitOpenStack Summit
OpenStack Summit
 
Docker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOpsDocker Concepts for Oracle/MySQL DBAs and DevOps
Docker Concepts for Oracle/MySQL DBAs and DevOps
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
 

More from RightScale

10 Must-Have Automated Cloud Policies for IT Governance
10 Must-Have Automated Cloud Policies for IT Governance10 Must-Have Automated Cloud Policies for IT Governance
10 Must-Have Automated Cloud Policies for IT Governance
RightScale
 
Kubernetes and Terraform in the Cloud: How RightScale Does DevOps
Kubernetes and Terraform in the Cloud: How RightScale Does DevOpsKubernetes and Terraform in the Cloud: How RightScale Does DevOps
Kubernetes and Terraform in the Cloud: How RightScale Does DevOps
RightScale
 
Optimize Software, SaaS, and Cloud with Flexera and RightScale
Optimize Software, SaaS, and Cloud with Flexera and RightScaleOptimize Software, SaaS, and Cloud with Flexera and RightScale
Optimize Software, SaaS, and Cloud with Flexera and RightScale
RightScale
 
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About NowPrepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
RightScale
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
RightScale
 
Multi-Cloud Management with RightScale CMP (Demo)
Multi-Cloud Management with RightScale CMP (Demo)Multi-Cloud Management with RightScale CMP (Demo)
Multi-Cloud Management with RightScale CMP (Demo)
RightScale
 
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBMComparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
RightScale
 
How to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale OptimaHow to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale Optima
RightScale
 
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
RightScale
 
Using RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider ToolsUsing RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider Tools
RightScale
 
Best Practices for Multi-Cloud Security and Compliance
Best Practices for Multi-Cloud Security and ComplianceBest Practices for Multi-Cloud Security and Compliance
Best Practices for Multi-Cloud Security and Compliance
RightScale
 
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and MoreAutomating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
RightScale
 
The 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for EnterprisesThe 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for Enterprises
RightScale
 
9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs
RightScale
 
Serverless Comparison: AWS vs Azure vs Google vs IBM
Serverless Comparison: AWS vs Azure vs Google vs IBMServerless Comparison: AWS vs Azure vs Google vs IBM
Serverless Comparison: AWS vs Azure vs Google vs IBM
RightScale
 
Best Practices for Cloud Managed Services Providers: The Path to CMP Success
Best Practices for Cloud Managed Services Providers: The Path to CMP SuccessBest Practices for Cloud Managed Services Providers: The Path to CMP Success
Best Practices for Cloud Managed Services Providers: The Path to CMP Success
RightScale
 
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBMCloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
RightScale
 
2018 Cloud Trends: RightScale State of the Cloud Report
2018 Cloud Trends: RightScale State of the Cloud Report2018 Cloud Trends: RightScale State of the Cloud Report
2018 Cloud Trends: RightScale State of the Cloud Report
RightScale
 
Got a Multi-Cloud Strategy? How RightScale CMP Helps
Got a Multi-Cloud Strategy? How RightScale CMP HelpsGot a Multi-Cloud Strategy? How RightScale CMP Helps
Got a Multi-Cloud Strategy? How RightScale CMP Helps
RightScale
 
How to Manage Cloud Costs with RightScale Optima
How to Manage Cloud Costs with RightScale OptimaHow to Manage Cloud Costs with RightScale Optima
How to Manage Cloud Costs with RightScale Optima
RightScale
 

More from RightScale (20)

10 Must-Have Automated Cloud Policies for IT Governance
10 Must-Have Automated Cloud Policies for IT Governance10 Must-Have Automated Cloud Policies for IT Governance
10 Must-Have Automated Cloud Policies for IT Governance
 
Kubernetes and Terraform in the Cloud: How RightScale Does DevOps
Kubernetes and Terraform in the Cloud: How RightScale Does DevOpsKubernetes and Terraform in the Cloud: How RightScale Does DevOps
Kubernetes and Terraform in the Cloud: How RightScale Does DevOps
 
Optimize Software, SaaS, and Cloud with Flexera and RightScale
Optimize Software, SaaS, and Cloud with Flexera and RightScaleOptimize Software, SaaS, and Cloud with Flexera and RightScale
Optimize Software, SaaS, and Cloud with Flexera and RightScale
 
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About NowPrepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
Prepare Your Enterprise Cloud Strategy for 2019: 7 Things to Think About Now
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
 
Multi-Cloud Management with RightScale CMP (Demo)
Multi-Cloud Management with RightScale CMP (Demo)Multi-Cloud Management with RightScale CMP (Demo)
Multi-Cloud Management with RightScale CMP (Demo)
 
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBMComparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
Comparing Cloud VM Types and Prices: AWS vs Azure vs Google vs IBM
 
How to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale OptimaHow to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale Optima
 
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
 
Using RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider ToolsUsing RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider Tools
 
Best Practices for Multi-Cloud Security and Compliance
Best Practices for Multi-Cloud Security and ComplianceBest Practices for Multi-Cloud Security and Compliance
Best Practices for Multi-Cloud Security and Compliance
 
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and MoreAutomating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
 
The 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for EnterprisesThe 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for Enterprises
 
9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs
 
Serverless Comparison: AWS vs Azure vs Google vs IBM
Serverless Comparison: AWS vs Azure vs Google vs IBMServerless Comparison: AWS vs Azure vs Google vs IBM
Serverless Comparison: AWS vs Azure vs Google vs IBM
 
Best Practices for Cloud Managed Services Providers: The Path to CMP Success
Best Practices for Cloud Managed Services Providers: The Path to CMP SuccessBest Practices for Cloud Managed Services Providers: The Path to CMP Success
Best Practices for Cloud Managed Services Providers: The Path to CMP Success
 
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBMCloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
 
2018 Cloud Trends: RightScale State of the Cloud Report
2018 Cloud Trends: RightScale State of the Cloud Report2018 Cloud Trends: RightScale State of the Cloud Report
2018 Cloud Trends: RightScale State of the Cloud Report
 
Got a Multi-Cloud Strategy? How RightScale CMP Helps
Got a Multi-Cloud Strategy? How RightScale CMP HelpsGot a Multi-Cloud Strategy? How RightScale CMP Helps
Got a Multi-Cloud Strategy? How RightScale CMP Helps
 
How to Manage Cloud Costs with RightScale Optima
How to Manage Cloud Costs with RightScale OptimaHow to Manage Cloud Costs with RightScale Optima
How to Manage Cloud Costs with RightScale Optima
 

Recently uploaded

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 

Docker in Production: How RightScale Delivers Cloud Applications

  • 1. DOCKER IN PRODUCTION: HOW RIGHTSCALE DELIVERS CLOUD APPLICATIONS
  • 2. Panelists • Tim Miller: Moderator • VP Engineering • Tony Spataro • Senior Systems Architect • Mark Dotson • Principal System Administrator
  • 3. Agenda • Docker Level-Set • Three Approaches to Using Docker • RightScale Plan of Attack • Development to Production • Before and After • Next Steps • Q&A
  • 5. 2015 DevOps Tools – All Respondents 3% 6% 10% 13% 24% 28% 11% 10% 10% 35% 19% 18% 0% 20% 40% 60% 80% 100% Rocket Salt Ansible Docker Puppet Chef Respondents Using DevOps Tools Use today Plan to use Source: RightScale 2015 State of the Cloud Report
  • 6. • User-friendly wrapper for cgroups • Nice CLI • Novel isolation features • Overlay filesystem • Virtual network interface • Packaging, distribution, reusability • Image registries (e.g. DockerHub) • Image metadata What is Docker? 5 ubuntu ubuntu ubuntu security security security ruby ruby apache app1 app2 rw rw rw
  • 8. Docker Image Metadata Explained 7  Complain to this guy  You can tune this setting  I offer a network service  I need persistent storage  I specialize my base image like this  Invoke me like this  I’m derived from this base image
  • 9. 3 DOCKER USE CASES
  • 10. • Architectural role of VMs doesn’t change • Deploy 1 app container onto each VM • Additional services can live outside container Containerize Code 9 syslog smtp my-awesome-app Application Server 1..n Container No container nginx
  • 11. • Simplifies config management • Package messy apps • Speed up deployment (installs at container build time) • Enhance app reliability (through better isolation) • Hot-swappable apps (zero-downtime) Benefits Drawbacks • Poor resource utilization (maybe) • Services shared with host machine • Config management required on host machine Containerize Code 10
  • 12. • Deploy N containers onto a VM • Host-local network • Declarative dependencies • Great for microservices architecture Compose Applications 11 Application Server 1..n nginx my-awesome-app smtp syslog
  • 13. • Everything is a service • Reusable app components • Simple orchestration for free Benefits Drawbacks • Moderate up-front investment • Complicates hot-swapping • Complicates config management • Complicates fault tolerance • Brittle (all-or-nothing fail/replace) Compose Applications 12
  • 14. Deploy a Sea of Containers 13 VM VM VM A A A A A A C C B B B B VM VM VM A A A C C A A A C C B B B B B Container Management B • N(×M) containers • 0..N VMs • Elastic mesh network • Declarative everything • Resource scheduling A A
  • 15. • Cost efficiency • Elasticity Benefits Drawbacks • Large up-front investment • Hard to manage & monitor • Beta-quality (rough edges) Deploy a Sea of Containers 14
  • 17. 1. Research spike • Play with tech • Find limitations • Identify workarounds 1. Development & Test • Suite of microservices • Continuous integration 1. Production for a small, new-ish app Docker Plan of Attack: Baby Steps 16
  • 18. • Maintain High Availability and SLAs • No negative impact on developer productivity • Integrate with existing production tools (monitoring, alerting, orchestration) • Integrate with existing non-docker apps as seamlessly as possible Constraints 17
  • 19. Conclusion: Containerize our Code 1. Dead simple for DevOps and Dev to understand 2. Low investment; immediate return 3. 100% compatible with existing production tools Choosing an Approach 18
  • 22. • Curated base images • Wanted to have known images provided by Ops • We modify ubuntu-provided images with common app needs • Git, maketools, etc. • Patching schedule • Even Docker images must fulfill security-patching SLA • Base images rebuilt daily w/latest upstream patches • Respond to disclosures by rebuilding application images Preparation 21
  • 23. • Application manifest (“all the files?!”) for dockerfile • Watch for hidden OS dependencies (e.g. system calls to “mail”) • Service Dependencies • Inputs (e.g. how many workers) • Secrets Development: What it Means to Dockerize 22 Interface Contract between Ops and Devs
  • 26. Continuous Integration GitHub Repo Unit & Functional Tests Fetch dependencies Pass? Integration TestsPass? Deploy Cloud Infrastructure with RightScale Continuous Integration Success email
  • 27. Continuous Integration: Dockerized 26 GitHub Repo Unit & Functional Tests Fetch dependencies Pass? docker builddocker push Integration TestsPass? Deploy Cloud Infrastructure with RightScale DockerHub Continuous Integration docker daemon Docker Build Farm in the Cloud docker daemon Local Image Store Deploy Cloud Infrastructure with RightScale
  • 28. • Significant departure from non-Docker workflow • Only CI can build images • No image unless unit/functional tests pass • Must use team integration branch (no image per feature branch) • Benefits of always building Docker images in CI: • Less burden on developers (no Docker running on laptop) • Uniform, reproducible build procedure • Quality Assurance: not much change • Acceptance/regression tests simulate end-user gestures • Docker changes nothing from the end-user perspective Continuous Integration: Key Differences 27
  • 29. • Large undertaking • Same procedure • Unexpected benefits! Weekly Release 28
  • 30. • System monitoring: more of the same • Throw some more more metrics onto the stack • Alert when containers look funny • Application monitoring: novel challenges • More containment = less transparency • docker exec to the rescue? • Single collection, analysis & alerting infrastructure • Avoid “split-brain” syndrome After Release: Sustaining Operations 29
  • 31. B.D. AND A.D. BEFORE DOCKER AND AFTER DOCKER 30
  • 32. Before After Dozens of ServerTemplates Two ServerTemplates overall Apps that share ServerTemplates, share runtime dependencies Each app precisely controls its runtime dependencies Dozens of inputs in RS dashboard Two places for inputs RS: fine adjustments + secrets Git: coarse adjustments 10-20 minute provisioning Install management boilerplate Install lang. runtime, libraries, etc 6-10 minute provisioning Install boilerplate; Docker; done! New bottleneck: DockerHub Rolling-restart dance Fire-and-forget deploy gun Benefits to DevOps 31
  • 33. Before After “Ask Ops” mentality “I built this” mentality Can’t touch staging Free to tinker in staging Can’t debug Debug any time, anywhere (not strictly thanks to Docker) Benefits to Developers 32
  • 34. • eBook: Continuous Integration and Delivery: How RightScale Does It • http://www.rightscale.com/ci-cd-ebook • Free Trial for RightScale • https://www.rightscale.com/free-trial • Sample RightScale ServerTemplate • http://goo.gl/CjxELA Q&A 33
  • 37. • Intelligent containers • Self-defined monitoring metrics • Self-defined alerts • Intelligent alerts • Tune boundary conditions on the fly • Squelch/enable alerts as operational state changes • Whole-service monitoring • Aggregate datapoints of all nodes running an app • Alert on overall QoS & availability Monitoring 36
  • 38. • Enable it (but don’t force-fit) • ServerTemplate: 1 page • Cloud Application Template: 1 book • How to do it in production? • …and still save money? • “Microservices on a stick” • Strong potential • Limited use cases: brittle, monolithic Composition 37 syslog smtp my-awesome-app nginx application server (1..n)
  • 39. • Service discovery • Self-healing applications • Enabled by whole-system monitoring • Like elastic scaling, but for other concerns Orchestration 38