reducing risk through continuous delivery (nov 2014)
DESCRIPTION
Joel Chippindale, CTO at FutureLearn, on continuous delivery and it's benefits with case studies. This was a lunch time talk at Pivotal (http://www.meetup.com/Pivotal-Labs-Tech-Talks/)TRANSCRIPT
![Page 1: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/1.jpg)
Reducing risk with continuous deliveryBY JOEL CHIPPINDALE - NOVEMBER 2014
![Page 2: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/2.jpg)
A story about FutureLearn
![Page 3: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/3.jpg)
How many of you work in continuous delivery environments?
![Page 4: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/4.jpg)
How do you explain the benefits?
![Page 5: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/5.jpg)
What is continuous delivery?
![Page 6: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/6.jpg)
What is continuous deployment?
![Page 7: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/7.jpg)
What is deployment?
![Page 8: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/8.jpg)
All the work required to make a new feature available to users
![Page 9: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/9.jpg)
Release based deployment
![Page 10: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/10.jpg)
Process
![Page 11: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/11.jpg)
Benefits
• QA have time to check each release before it goes live
• Marketing can announce releases • Defined process sounds reliable
![Page 12: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/12.jpg)
But what happens when something goes wrong?
![Page 13: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/13.jpg)
• Bugs found in QA can delay ALL features. • Features may miss the ‘release window’ • How are bugs fixed that are found AFTER QA? • Scheduled downtime?
![Page 14: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/14.jpg)
Big releases are complicated releases
![Page 15: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/15.jpg)
The more complicated the release the greater the chance that something will go wrong
![Page 16: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/16.jpg)
Continuous deployment
![Page 17: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/17.jpg)
Process
![Page 18: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/18.jpg)
• Bugs found in QA can delay ALL features. • Features may miss the ‘release window’ • How are bugs fixed that are found AFTER QA? • Scheduled downtime?
![Page 19: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/19.jpg)
Benefits
• Features and bug fixes available as soon as they are ready
• Most deployments can be made with zero downtime
![Page 20: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/20.jpg)
Continuous deployment vs.
Continuous delivery
![Page 21: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/21.jpg)
Case study 1: Etsy
![Page 22: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/22.jpg)
![Page 23: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/23.jpg)
More than 1 billion dollars worth of sales made on Etsy in 2012
Source: Contniuous deployment at Etsy
![Page 24: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/24.jpg)
How often do Etsy deploy code?
![Page 25: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/25.jpg)
25+ times per day
![Page 26: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/26.jpg)
Who can deploy code at Etsy?
![Page 27: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/27.jpg)
EVERYONE
![Page 28: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/28.jpg)
Automated tests
![Page 29: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/29.jpg)
Fast and easy deployments
![Page 30: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/30.jpg)
Constant monitoring
![Page 31: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/31.jpg)
Continual bug fixing
![Page 32: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/32.jpg)
…and gradual role out of features
![Page 34: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/34.jpg)
![Page 35: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/35.jpg)
50 million visits a month
Source: GDS blog
![Page 36: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/36.jpg)
Several deployments a day, thousands since launch
![Page 37: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/37.jpg)
Automated tests
![Page 38: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/38.jpg)
Fast and easy deployments
![Page 39: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/39.jpg)
Constant monitoring
![Page 40: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/40.jpg)
…and smoke tests
![Page 41: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/41.jpg)
Case study 3: FutureLearn
![Page 42: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/42.jpg)
![Page 43: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/43.jpg)
700,000 learners
![Page 44: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/44.jpg)
Average of 3 deployments every working day
![Page 45: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/45.jpg)
Automated tests
![Page 46: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/46.jpg)
Fast and easy deployments
![Page 47: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/47.jpg)
Constant monitoring
![Page 48: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/48.jpg)
Continual QA and bug fixing
![Page 50: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/50.jpg)
Amazon
![Page 51: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/51.jpg)
![Page 52: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/52.jpg)
![Page 53: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/53.jpg)
Continuous delivery works well with
![Page 54: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/54.jpg)
Automated tests
![Page 55: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/55.jpg)
Fast and easy deployments
![Page 56: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/56.jpg)
Constant monitoring
![Page 57: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/57.jpg)
Continual bug fixing
![Page 58: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/58.jpg)
These are good practices for EVERY project
![Page 59: Reducing risk through continuous delivery (Nov 2014)](https://reader034.vdocuments.mx/reader034/viewer/2022042715/557d606fd8b42aba3d8b4fe1/html5/thumbnails/59.jpg)
Continuous delivery: Reduce risk by delivering small changes often and monitoring
feedback