SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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 FoundryVMware Tanzu
 
ITLCHN 18 - Automation & DevOps - Automic
ITLCHN 18 -  Automation & DevOps - AutomicITLCHN 18 -  Automation & DevOps - Automic
ITLCHN 18 - Automation & DevOps - AutomicIT 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 diveCisco DevNet
 
Breaking the Monolith
Breaking the MonolithBreaking the Monolith
Breaking the MonolithVMware 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 kitsolarisyougood
 
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 AppSimon Vocella
 
Cloud Native Applications Maturity Model
Cloud Native Applications Maturity ModelCloud Native Applications Maturity Model
Cloud Native Applications Maturity ModelJim 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 AWSAtlassian
 
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 AzureDavide 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 transformationUni 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 FoundryAltoros
 
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_developmentDr. Wilfred Lin (Ph.D.)
 
VMworld 2014 Announcements
VMworld 2014 AnnouncementsVMworld 2014 Announcements
VMworld 2014 AnnouncementsBrendan Rose
 

Was ist angesagt? (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
 

Ähnlich wie 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 realistsKarthik 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 2018Patrick Chanezon
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for RealistsOracle Developers
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realistsKarthik Gaekwad
 
Where and When to Docker
Where and When to DockerWhere and When to Docker
Where and When to Dockerdantheelder
 
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 2015WaveMaker, Inc.
 
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 2017Patrick 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 DevOpsZohar 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 ServiceAndrew Ferrier
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2Docker, Inc.
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionPeng Xiao
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationAlex Vranceanu
 

Ähnlich wie 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
 

Mehr von 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 GovernanceRightScale
 
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 DevOpsRightScale
 
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 RightScaleRightScale
 
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 NowRightScale
 
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 EnterpriseRightScale
 
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 IBMRightScale
 
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 OptimaRightScale
 
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 ToolsRightScale
 
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 ComplianceRightScale
 
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 MoreRightScale
 
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 EnterprisesRightScale
 
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 CostsRightScale
 
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 IBMRightScale
 
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 SuccessRightScale
 
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 IBMRightScale
 
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 ReportRightScale
 
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 HelpsRightScale
 
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 OptimaRightScale
 

Mehr von 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
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

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