Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/JUqwqz.
Dianne Marsh presents the open source tools used by Netflix to keep the continuous delivery wheels spinning. Filmed at qconsf.com.
Dianne Marsh is a Director of Engineering for Netflix in Los Gatos, CA, where she leads a team responsible for tools and systems used by nearly all engineers in the company for continuous integration, delivery and deployment to the AWS cloud. Dianne earned her Master of Science degree in computer science from Michigan Technological University.
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
From Code to Monkeys: Continuous Delivery at Netflix
1. Continuous Delivery at Netflix:
From Code to the Monkeys
QCon – San Francisco, November 2013
Dianne Marsh
@dmarsh
http://www.linkedin.com/in/diannemarsh
1
2. Watch the video with slide
synchronization on InfoQ.com!
http://www.infoq.com/presentations
/netflix-continuous-delivery
InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese and Brazilian
Portuguese)
• Post content from our QCon conferences
• News 15-20 / week
• Articles 3-4 / week
• Presentations (videos) 12-15 / week
• Interviews 2-3 / week
• Books 1 / month
3. Presented at QCon San Francisco
www.qconsf.com
Purpose of QCon
- to empower software development by facilitating the spread of
knowledge and innovation
Strategy
- practitioner-driven conference designed for YOU: influencers of
change and innovation in your teams
- speakers and topics driving the evolution and innovation
- connecting and catalyzing the influencers and innovators
Highlights
- attended by more than 12,000 delegates since 2007
- held in 9 cities worldwide
6. Teams Deploy Their Own Code
Run What You Wrote
§ Rapid Innovation
§ Rapid Detection
§ Rapid Response
= Freedom + Responsibility
http://www.slideshare.net/garethbowles/self-servicebuilddeploymentagile2013
7. BUILD
Jenkins Job DSL
Configuration as Code
Groovy Script
Scripts go in Version Control
http://www.slideshare.net/quidryan/configuration-as-code
9. BAKE
Aminator
• Create AMI from Base AMI
• Image contains service and
everything needed to run it
• Unit of Deployment for Test and
Prod
• Abstracts Cloud Details
http://techblog.netflix.com/2013/03/ami-creation-with-aminator.html
12. CANARY ANALYSIS
Test, Int, Prod
Choose where to deploy
Run canary analysis
Scale up new instances
Turn on traffic to new ASG
Turn off traffic to old ASG
Wait … analyze … continue
14. GLISTEN
Extending Asgard’s Workflow
Automated Red/Black Push
Test, Int, Prod stacks
Run canary/analysis
Scale up new instances
Turn on traffic to new ASG
Run more tests
Turn off traffic to old ASG
Wait … analyze … continue
http://techblog.netflix.com/2013/09/glisten-groovy-way-to-use-amazons.html
19. Multi-Region Consistency
Build Tooling to:
§ Schedule
Deployments
§ Prefer off peak
§ Choose next available
region automatically
§ Provide high visibility
per region
20. Send in the Conformity Monkey
Have deployments diverged?
§ Balance regional consistency
with regional isolation
§ Provide meaningful
thresholds
§ Build best practices into
tooling and reporting
http://techblog.netflix.com/2013/05/conformity-monkey-keeping-yourcloud.html
22. Key Elements for Netflix
§ Value Self-service
§ Test Everywhere
§ Build Awareness of Multiple Regions
§ Avoid peak times
§ Roll back quickly and easily
§ Be Cloud Native
23. Put NetflixOSS to Work for You
Netflix Platform
AMINATOR
Glisten
** And 30+ more projects at http://netflix.github.io/
24. Keep the Conversation Going
Continuous Delivery
Open Space
Ballroom B/C (here!)
1:35-2:25, immediately
following lunch