SlideShare a Scribd company logo
Continuous Deployment
Continuous Deployment is the practice of shipping your code as frequently as possible.
Roots Agile & Lean software development Development teams work in iterations with incremental delivery  Operations has not traditionally managed to keep up with the demands of 'the business' Cloud Computing, aka Utility Computing
Secret Sauce Operations is the new “Secret Sauce” of many successful businesses (2007 – Adam Jacob, co-founder Opscode) What is in the Sauce? “ A collection of techniques to avoid sucking.” (@Kellanem – VP Engineering, Etsy) -I'll get to these techniques in a bit...
Who does this? You might have heard of... IMVU Wordpress Etsy Flickr Wealthfront 37 Signals Smart Frog Prezi Outbrain Digg4 Heyo Atlassian Quora Countless others...
So you might be thinking  this is just for small companies or startups...
Oh, and also these guys: Google Amazon Facebook LinkedIn
So now the WHY? Why would companies deploy to Production multiple times every day? Smaller changes = less risk More frequent changes = closer feedback loop to knowing when you've introduced a bug Closer feedback from customers Competition advantage
Stop! That's crazy! How can you deploy to Production multiple times every day?! What about release management, risk management, project management, service management, etc? What about QA? What about all of our policies and best practices?
Continuous Deployment != Deploying new features without Coordination and planning
What's Lean got to do with it? Lean Principles: Optimize the Whole Build Quality In Learn Constantly Deliver Fast Engage Everyone Keep Getting Better
Lean into it... “ Commit to frequent deploys and  the tooling to support it”
Step 1 Get Deployment Simple [Lean principles: Deliver Fast, Build Quality In, Optimize the Whole]
Step 2 Developers do deployments [Lean principles: Deliver Fast, Optimize the Whole,  Engage Everyone]
Step 3 Measure Everything [Lean principles: Learn Constantly, Keep Getting Better]
Step 4 Automate Everything [Lean principles: Optimize the Whole, Build Quality In, Deliver Fast, Keep Getting Better]
What does the workstream look like? Old way Write code->Commit->CI Tests->Manual deploy to test/load environment->Manual Load Tests->Manual Regression Tests->Deploy to production->Observe metrics New way Write code->Commit->CI Tests->Auto deploy to testing/load environment->Automated Tests->Deploy to production->Observe metrics -LonelyPlanet
What about QA? While some companies claim not to have QA, more often they have embedded QA. Most companies have dedicated software development teams that write  automated  tests above unit/component tests. -Facebook: Test Engineering Team IMVU calls this their “Immune System”
What about Process? “ Once you add a process, it  never  goes away” “ bad process is about fear”
Metrics of CD in action: Amazon.com Mean time between deployments: 11.6s Max # of deploys in a single hour: 1079 Mean # of hosts simultaneously receiving a deployment: 10,000 Max # of hosts receiving a deployment: 30,000
Metrics of this in action: Etsy 729 deploys to Production, Nov 2010 6 change related incidents in 2010 (3500 deploys) Deployed new big feature on Dec 1 st , 4 th  busiest day of the year without FEAR
Etsy cont. CI System – 10 machine Jenkins cluster Types of tests: unit, integration, smoke, functional 7000 “trunk tests” 30 minutes to execute, so they don't run sequential 11 minutes in parallel Functional tests = expensive to write and maintain, so mission critical parts of the site only Deploy takes 20 minutes to reach Prod
Even more Etsy Engineers deploy to Prod on Day 1 to get over deployment fear Use config flags for dark launches “ Core platform team”  Deployment tools Front end and back end site performance Large scale data migrations Caching architecture
More Etsy. Really? Yes. They've now opensourced Logster Statsd Deployinator Two books by John Allspaw: Web Operations (Allspaw & Jesse Robbins) The Art of Capacity Planning Awesome engineering blog:  http://codeascraft.etsy.com/
Other techniques Work in Trunk, Branch in Code Set true by config, cookie, ip address, probability Dark launch A/B test Schema changes -> only on Thursdays :)
Other techniques Operability Review What could possibly go wrong? What is our communication strategy? What is our contingency plan? Blame free post-mortems http://velocityconf.com/velocity2011/public/schedule/detail/19766
What to measure? Mean Time Between Failures Mean Time To Detect Mean Time To Repair Changes per week Change success rate
Ugly (legacy) metrics Change management overhead Number of people to provision env Number of people to deploy  Number of people to access Prod logs Number of manual steps to deploy Number of manual steps to provision env Number of manual steps to access Prod logs How long to do any of the above?
The person who says it cannot be done should not interrupt the person doing it. --Chinese Proverb

More Related Content

What's hot (20)

PDF
NYC MeetUp 10.9
Solano Labs
 
PPTX
WinOps Conf 2016 - Gael Colas - Configuration Management Theory: Why Idempote...
WinOps Conf
 
PDF
DevOps: A Practical Guide
VictorOps
 
PPT
The Why and How of Continuous Delivery
Nigel McNie
 
PPTX
DevOps Roadtrip Final Speaking Deck
VictorOps
 
ODP
Dev ops hackformers-matt-tesauro
Matt Tesauro
 
PDF
Continuous Delivery - the missing parts - Paul Stack
JAXLondon_Conference
 
PPTX
Lies Enterprise Architects Tell - Data Day Texas 2018 Keynote
Gwen (Chen) Shapira
 
PDF
Continuous delivery
Leonardo Gamas
 
PDF
Automating your processes with JIRA
Adaptavist
 
PPTX
Humans by the hundred
Yelp Engineering
 
PPTX
DevOps - Understanding Core Concepts
Nitin Bhide
 
PPTX
DevOps without DevOps Tools
Jagatveer Singh
 
PPTX
Cloud Academy Webinar: Recipe for DevOps Success: Capital One Style
Mark Andersen
 
PDF
DevOps Picc12 Management Talk
Michael Rembetsy
 
PPTX
Mark Andersen DFW DevOps Days 2017
Mark Andersen
 
PPTX
Testing Legacy Apps
Dawn Code
 
PPTX
Intro to Puppet Enterprise
Puppet
 
PPTX
Yelp Tech Talks: Mobile Testing 1, 2, 3
Yelp Engineering
 
PPTX
DevOps - Understanding Core Concepts (Old)
Nitin Bhide
 
NYC MeetUp 10.9
Solano Labs
 
WinOps Conf 2016 - Gael Colas - Configuration Management Theory: Why Idempote...
WinOps Conf
 
DevOps: A Practical Guide
VictorOps
 
The Why and How of Continuous Delivery
Nigel McNie
 
DevOps Roadtrip Final Speaking Deck
VictorOps
 
Dev ops hackformers-matt-tesauro
Matt Tesauro
 
Continuous Delivery - the missing parts - Paul Stack
JAXLondon_Conference
 
Lies Enterprise Architects Tell - Data Day Texas 2018 Keynote
Gwen (Chen) Shapira
 
Continuous delivery
Leonardo Gamas
 
Automating your processes with JIRA
Adaptavist
 
Humans by the hundred
Yelp Engineering
 
DevOps - Understanding Core Concepts
Nitin Bhide
 
DevOps without DevOps Tools
Jagatveer Singh
 
Cloud Academy Webinar: Recipe for DevOps Success: Capital One Style
Mark Andersen
 
DevOps Picc12 Management Talk
Michael Rembetsy
 
Mark Andersen DFW DevOps Days 2017
Mark Andersen
 
Testing Legacy Apps
Dawn Code
 
Intro to Puppet Enterprise
Puppet
 
Yelp Tech Talks: Mobile Testing 1, 2, 3
Yelp Engineering
 
DevOps - Understanding Core Concepts (Old)
Nitin Bhide
 

Similar to Continuous Deployment (20)

ODP
Dev ops
Eslam El Husseiny
 
PPTX
Agile & DevOps - It's all about project success
Adam Stephensen
 
PPT
Continuous Integration
Preetam Palwe
 
PDF
Continuous, continuous, continuous
Michele Orselli
 
PPTX
Continuous Delivery (The newest)
Eduards Sizovs
 
PPTX
ROOTS2011 Continuous Delivery
Ole Christian Rynning
 
PPTX
Continuous Delivery
Stein Inge Morisbak
 
PDF
Principles and Practices in Continuous Deployment at Etsy
Mike Brittain
 
PDF
DevOps and AWS
Shiva Narayanaswamy
 
PDF
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Steve Mercier
 
PDF
PyCon 9: Continuous Delivery starts at your Development Dnvironment
Peter Bittner
 
PPTX
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
Joakim Lindbom
 
PPTX
Continuous Deployment
Timothy Fitz
 
PPTX
ISACA Ireland Keynote 2015
Shannon Lietz
 
PDF
DevOps in the Amazon Warehouse - Shawn Gandhi
TriNimbus
 
PPTX
KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...
DevOpsDays Tel Aviv
 
PDF
The Continuous delivery Value @ codemotion 2014
David Funaro
 
PDF
The Continuous delivery value - Funaro
Codemotion
 
PPTX
The Lean Startup EA edition
Eric Ries
 
PDF
Is your Automation Infrastructure ‘Well Architected’?
Adam Goucher
 
Agile & DevOps - It's all about project success
Adam Stephensen
 
Continuous Integration
Preetam Palwe
 
Continuous, continuous, continuous
Michele Orselli
 
Continuous Delivery (The newest)
Eduards Sizovs
 
ROOTS2011 Continuous Delivery
Ole Christian Rynning
 
Continuous Delivery
Stein Inge Morisbak
 
Principles and Practices in Continuous Deployment at Etsy
Mike Brittain
 
DevOps and AWS
Shiva Narayanaswamy
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Steve Mercier
 
PyCon 9: Continuous Delivery starts at your Development Dnvironment
Peter Bittner
 
2014-10 DevOps NFi - Why it's a good idea to deploy 10 times per day v1.0
Joakim Lindbom
 
Continuous Deployment
Timothy Fitz
 
ISACA Ireland Keynote 2015
Shannon Lietz
 
DevOps in the Amazon Warehouse - Shawn Gandhi
TriNimbus
 
KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...
DevOpsDays Tel Aviv
 
The Continuous delivery Value @ codemotion 2014
David Funaro
 
The Continuous delivery value - Funaro
Codemotion
 
The Lean Startup EA edition
Eric Ries
 
Is your Automation Infrastructure ‘Well Architected’?
Adam Goucher
 
Ad

Recently uploaded (20)

PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Ad

Continuous Deployment

  • 2. Continuous Deployment is the practice of shipping your code as frequently as possible.
  • 3. Roots Agile & Lean software development Development teams work in iterations with incremental delivery Operations has not traditionally managed to keep up with the demands of 'the business' Cloud Computing, aka Utility Computing
  • 4. Secret Sauce Operations is the new “Secret Sauce” of many successful businesses (2007 – Adam Jacob, co-founder Opscode) What is in the Sauce? “ A collection of techniques to avoid sucking.” (@Kellanem – VP Engineering, Etsy) -I'll get to these techniques in a bit...
  • 5. Who does this? You might have heard of... IMVU Wordpress Etsy Flickr Wealthfront 37 Signals Smart Frog Prezi Outbrain Digg4 Heyo Atlassian Quora Countless others...
  • 6. So you might be thinking this is just for small companies or startups...
  • 7. Oh, and also these guys: Google Amazon Facebook LinkedIn
  • 8. So now the WHY? Why would companies deploy to Production multiple times every day? Smaller changes = less risk More frequent changes = closer feedback loop to knowing when you've introduced a bug Closer feedback from customers Competition advantage
  • 9. Stop! That's crazy! How can you deploy to Production multiple times every day?! What about release management, risk management, project management, service management, etc? What about QA? What about all of our policies and best practices?
  • 10. Continuous Deployment != Deploying new features without Coordination and planning
  • 11. What's Lean got to do with it? Lean Principles: Optimize the Whole Build Quality In Learn Constantly Deliver Fast Engage Everyone Keep Getting Better
  • 12. Lean into it... “ Commit to frequent deploys and the tooling to support it”
  • 13. Step 1 Get Deployment Simple [Lean principles: Deliver Fast, Build Quality In, Optimize the Whole]
  • 14. Step 2 Developers do deployments [Lean principles: Deliver Fast, Optimize the Whole, Engage Everyone]
  • 15. Step 3 Measure Everything [Lean principles: Learn Constantly, Keep Getting Better]
  • 16. Step 4 Automate Everything [Lean principles: Optimize the Whole, Build Quality In, Deliver Fast, Keep Getting Better]
  • 17. What does the workstream look like? Old way Write code->Commit->CI Tests->Manual deploy to test/load environment->Manual Load Tests->Manual Regression Tests->Deploy to production->Observe metrics New way Write code->Commit->CI Tests->Auto deploy to testing/load environment->Automated Tests->Deploy to production->Observe metrics -LonelyPlanet
  • 18. What about QA? While some companies claim not to have QA, more often they have embedded QA. Most companies have dedicated software development teams that write automated tests above unit/component tests. -Facebook: Test Engineering Team IMVU calls this their “Immune System”
  • 19. What about Process? “ Once you add a process, it never goes away” “ bad process is about fear”
  • 20. Metrics of CD in action: Amazon.com Mean time between deployments: 11.6s Max # of deploys in a single hour: 1079 Mean # of hosts simultaneously receiving a deployment: 10,000 Max # of hosts receiving a deployment: 30,000
  • 21. Metrics of this in action: Etsy 729 deploys to Production, Nov 2010 6 change related incidents in 2010 (3500 deploys) Deployed new big feature on Dec 1 st , 4 th busiest day of the year without FEAR
  • 22. Etsy cont. CI System – 10 machine Jenkins cluster Types of tests: unit, integration, smoke, functional 7000 “trunk tests” 30 minutes to execute, so they don't run sequential 11 minutes in parallel Functional tests = expensive to write and maintain, so mission critical parts of the site only Deploy takes 20 minutes to reach Prod
  • 23. Even more Etsy Engineers deploy to Prod on Day 1 to get over deployment fear Use config flags for dark launches “ Core platform team” Deployment tools Front end and back end site performance Large scale data migrations Caching architecture
  • 24. More Etsy. Really? Yes. They've now opensourced Logster Statsd Deployinator Two books by John Allspaw: Web Operations (Allspaw & Jesse Robbins) The Art of Capacity Planning Awesome engineering blog: http://codeascraft.etsy.com/
  • 25. Other techniques Work in Trunk, Branch in Code Set true by config, cookie, ip address, probability Dark launch A/B test Schema changes -> only on Thursdays :)
  • 26. Other techniques Operability Review What could possibly go wrong? What is our communication strategy? What is our contingency plan? Blame free post-mortems http://velocityconf.com/velocity2011/public/schedule/detail/19766
  • 27. What to measure? Mean Time Between Failures Mean Time To Detect Mean Time To Repair Changes per week Change success rate
  • 28. Ugly (legacy) metrics Change management overhead Number of people to provision env Number of people to deploy Number of people to access Prod logs Number of manual steps to deploy Number of manual steps to provision env Number of manual steps to access Prod logs How long to do any of the above?
  • 29. The person who says it cannot be done should not interrupt the person doing it. --Chinese Proverb

Editor's Notes

  • #13: -this had this single biggest effect on releasing more frequently at Etsy
  • #15: “ Any developer can deploy their own code, whenever they want, to whatever fleet they want.” -Jon Jenkins, Director of Platform Analysis, Amazon.com
  • #23: 5.7 million members. 6.5 million items listed. 775 million page views per month, ~$200milion sales