SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
How I
learned to
stop worrying
and love to
deploy
Getting to daily deploys (weekly for apps)
WHY: ITS ALL ABOUT THE FEEDBACK
● Shortening the feedback loop allows us to be responsive
● Deploys are a key part of the feedback cycle
● If you are deploying daily without fuss, a whole host of other things are going
well: engineering organizational healthcheck
Production metrics & user feedback > Story writing & estimates (IPM) >
Compilation > UI test > Unit tests > Pair/Code review >
Show&tell/Demoday > CI > Staging Deploy (CD) > Tester delivering
stories > PM accepting stories > Production Deploy > Production metrics
& user feedback
TLDR;
1. AUTOMATE ALL THE THINGS (CI - Green builds, CD-automatable canary
deploys, Monitoring and alerting)
2. ORGANIZATIONAL ROLE TWEAKS (Product - Developers - Testers -
Infra/Support)
3. STANDARDIZATION (Toolsets, frameworks, deployment procedures,
monitoring, logging)
4. LOTS OF EFFORT FROM EVERYONE, WITH POWER COMES
RESPONSIBILITY (Ownership of costs, Discipline to process, Ownership of
production issues)
FOUNDATIONAL PRINCIPLES
1. Config as code
2. Confidence through CI/CD
3. Incremental unit of work
4. Immutable infrastructure, Reversible/Canary deploys
5. Shared operational responsibility (monitoring, alerts, pager rotation)
CONFIG AS CODE
1. Shared ownership of configuration between
dev and ops
a. Dev & ops updating common configs
2. Common configuration between dev,
staging, production
a. Vagrant for local development
b. Common ansible roles
c. Config code versioned together with
application
3. No local changes on VMs in all
environments
4. Ephemeral servers: Servers torn down and
rebuilt from scratch on config push/daily, cheaper
CONFIDENCE THROUGH CI/CD
1. Everyone (Stakeholders,
Product, testers, dev, ops etc) is
aware of the state of the build
a. CI Monitors
b. CI in the critical path of a daily
workflow
2. Devs+ops make keeping the
build green paramount
3. Green build == Deployable build
a. Ensure the automated tests cover
critical paths, includes UI testing
INCREMENTAL UNIT OF WORK
1. Units of work (stories) that are small and that is understood
across the team (PM, dev, test, ops)
2. Constantly merging, testing, deploying > trickle through the
process with no ceremony
a. Feature toggles
b. In general stories should take between 1-3 days max
IMMUTABLE INFRASTRUCTURE
1. Always baking images, no
changes in production on
running instances, always
replace with latest instance
2. Ansible used as a config
management tool to build
images - same roles used
on dev
3. Canary deploys
SHARED OPERATIONAL RESPONSIBILITY
1. Dev and ops on call
schedules
2. Shared responsibility
between dev/ops/testers
3. PM updated of operational
overheads, prioritizes
stories to improve things
4. Shared pager responsibility

Contenu connexe

Tendances

Resource#2
Resource#2Resource#2
Resource#2
testerul
 

Tendances (17)

A Software Development Approach to Help You End Up with the Product You Reall...
A Software Development Approach to Help You End Up with the Product You Reall...A Software Development Approach to Help You End Up with the Product You Reall...
A Software Development Approach to Help You End Up with the Product You Reall...
 
Usa prácticas de integración continua y sobrevive para luchar otro día.
 Usa prácticas de integración continua y sobrevive para luchar otro día. Usa prácticas de integración continua y sobrevive para luchar otro día.
Usa prácticas de integración continua y sobrevive para luchar otro día.
 
ROOTS2011 Continuous Delivery
ROOTS2011 Continuous DeliveryROOTS2011 Continuous Delivery
ROOTS2011 Continuous Delivery
 
introduction to software enginering
introduction to software engineringintroduction to software enginering
introduction to software enginering
 
Lean ux
Lean uxLean ux
Lean ux
 
Become a Quality Enabler
Become a Quality EnablerBecome a Quality Enabler
Become a Quality Enabler
 
Gearing Startups for Success through Product Engineering
Gearing Startups for Success through Product EngineeringGearing Startups for Success through Product Engineering
Gearing Startups for Success through Product Engineering
 
Software Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it betterSoftware Developer Productivity: What we know and how to make it better
Software Developer Productivity: What we know and how to make it better
 
Execute for Every Screen
Execute for Every ScreenExecute for Every Screen
Execute for Every Screen
 
Efficient or Just Busy?
Efficient or Just Busy?Efficient or Just Busy?
Efficient or Just Busy?
 
Agile paris 2022 sharing
Agile paris 2022   sharingAgile paris 2022   sharing
Agile paris 2022 sharing
 
Lean Software Development
Lean Software DevelopmentLean Software Development
Lean Software Development
 
Resource#2
Resource#2Resource#2
Resource#2
 
Introduction to Eclipse Che
Introduction to Eclipse CheIntroduction to Eclipse Che
Introduction to Eclipse Che
 
Testers developers think differently
Testers developers think differentlyTesters developers think differently
Testers developers think differently
 
Scale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conferenceScale quality with kaizen - Tech.Rocks conference
Scale quality with kaizen - Tech.Rocks conference
 
[Quang nguyen] Continuous Integration XP Day 2015 Vietnam Danang
[Quang nguyen] Continuous Integration XP Day 2015 Vietnam Danang[Quang nguyen] Continuous Integration XP Day 2015 Vietnam Danang
[Quang nguyen] Continuous Integration XP Day 2015 Vietnam Danang
 

Similaire à How I learned to stop worrying and love to deploy

Introduction to continuous delivery
Introduction to continuous deliveryIntroduction to continuous delivery
Introduction to continuous delivery
OlympicSoftware
 
Managing Test Environments
Managing Test EnvironmentsManaging Test Environments
Managing Test Environments
Kevin Harvey
 

Similaire à How I learned to stop worrying and love to deploy (20)

ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENTROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
 
Test Like A Badger
Test Like A BadgerTest Like A Badger
Test Like A Badger
 
CI/CD Overview
CI/CD OverviewCI/CD Overview
CI/CD Overview
 
SRN_11
SRN_11SRN_11
SRN_11
 
From Continuous Integration to Continuous Delivery and DevOps
From Continuous Integration to Continuous Delivery and DevOpsFrom Continuous Integration to Continuous Delivery and DevOps
From Continuous Integration to Continuous Delivery and DevOps
 
Introduction to CI/CD
Introduction to CI/CDIntroduction to CI/CD
Introduction to CI/CD
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOps
 
Introduction to continuous delivery
Introduction to continuous deliveryIntroduction to continuous delivery
Introduction to continuous delivery
 
DevOps CI Automation Continuous Integration
DevOps CI Automation Continuous IntegrationDevOps CI Automation Continuous Integration
DevOps CI Automation Continuous Integration
 
Continuous Everything
Continuous EverythingContinuous Everything
Continuous Everything
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Intro To Continuous Delivery
Intro To Continuous DeliveryIntro To Continuous Delivery
Intro To Continuous Delivery
 
Harman deepak v - agile on steriod - dev ops led transformation
Harman  deepak v - agile on steriod - dev ops led transformationHarman  deepak v - agile on steriod - dev ops led transformation
Harman deepak v - agile on steriod - dev ops led transformation
 
Executing Deployment & Release Strategies
Executing Deployment & Release StrategiesExecuting Deployment & Release Strategies
Executing Deployment & Release Strategies
 
Continuous delivery
Continuous deliveryContinuous delivery
Continuous delivery
 
Continuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackContinuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise Stack
 
Release Automation: Better Quality, Faster Deployment, Amazing ROI
Release Automation: Better Quality, Faster Deployment, Amazing ROIRelease Automation: Better Quality, Faster Deployment, Amazing ROI
Release Automation: Better Quality, Faster Deployment, Amazing ROI
 
Arun resume
Arun resumeArun resume
Arun resume
 
A New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIMA New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIM
 
Managing Test Environments
Managing Test EnvironmentsManaging Test Environments
Managing Test Environments
 

Plus de Mohan Krishnan

Plus de Mohan Krishnan (6)

Startup Engineering culture - "What matters & what does not"
Startup Engineering culture - "What matters & what does not"Startup Engineering culture - "What matters & what does not"
Startup Engineering culture - "What matters & what does not"
 
Tomboy Web Sync Explained
Tomboy Web Sync ExplainedTomboy Web Sync Explained
Tomboy Web Sync Explained
 
Introduction To Open Web Protocols
Introduction To Open Web ProtocolsIntroduction To Open Web Protocols
Introduction To Open Web Protocols
 
Securing your Web API with OAuth
Securing your Web API with OAuthSecuring your Web API with OAuth
Securing your Web API with OAuth
 
AtomPub, beyond blogs
AtomPub, beyond blogsAtomPub, beyond blogs
AtomPub, beyond blogs
 
Open Data, Visualization & Usability for Online News Delivery
Open Data,  Visualization &  Usability for  Online News DeliveryOpen Data,  Visualization &  Usability for  Online News Delivery
Open Data, Visualization & Usability for Online News Delivery
 

Dernier

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 

How I learned to stop worrying and love to deploy

  • 1. How I learned to stop worrying and love to deploy Getting to daily deploys (weekly for apps)
  • 2. WHY: ITS ALL ABOUT THE FEEDBACK ● Shortening the feedback loop allows us to be responsive ● Deploys are a key part of the feedback cycle ● If you are deploying daily without fuss, a whole host of other things are going well: engineering organizational healthcheck Production metrics & user feedback > Story writing & estimates (IPM) > Compilation > UI test > Unit tests > Pair/Code review > Show&tell/Demoday > CI > Staging Deploy (CD) > Tester delivering stories > PM accepting stories > Production Deploy > Production metrics & user feedback
  • 3. TLDR; 1. AUTOMATE ALL THE THINGS (CI - Green builds, CD-automatable canary deploys, Monitoring and alerting) 2. ORGANIZATIONAL ROLE TWEAKS (Product - Developers - Testers - Infra/Support) 3. STANDARDIZATION (Toolsets, frameworks, deployment procedures, monitoring, logging) 4. LOTS OF EFFORT FROM EVERYONE, WITH POWER COMES RESPONSIBILITY (Ownership of costs, Discipline to process, Ownership of production issues)
  • 4. FOUNDATIONAL PRINCIPLES 1. Config as code 2. Confidence through CI/CD 3. Incremental unit of work 4. Immutable infrastructure, Reversible/Canary deploys 5. Shared operational responsibility (monitoring, alerts, pager rotation)
  • 5. CONFIG AS CODE 1. Shared ownership of configuration between dev and ops a. Dev & ops updating common configs 2. Common configuration between dev, staging, production a. Vagrant for local development b. Common ansible roles c. Config code versioned together with application 3. No local changes on VMs in all environments 4. Ephemeral servers: Servers torn down and rebuilt from scratch on config push/daily, cheaper
  • 6. CONFIDENCE THROUGH CI/CD 1. Everyone (Stakeholders, Product, testers, dev, ops etc) is aware of the state of the build a. CI Monitors b. CI in the critical path of a daily workflow 2. Devs+ops make keeping the build green paramount 3. Green build == Deployable build a. Ensure the automated tests cover critical paths, includes UI testing
  • 7. INCREMENTAL UNIT OF WORK 1. Units of work (stories) that are small and that is understood across the team (PM, dev, test, ops) 2. Constantly merging, testing, deploying > trickle through the process with no ceremony a. Feature toggles b. In general stories should take between 1-3 days max
  • 8. IMMUTABLE INFRASTRUCTURE 1. Always baking images, no changes in production on running instances, always replace with latest instance 2. Ansible used as a config management tool to build images - same roles used on dev 3. Canary deploys
  • 9. SHARED OPERATIONAL RESPONSIBILITY 1. Dev and ops on call schedules 2. Shared responsibility between dev/ops/testers 3. PM updated of operational overheads, prioritizes stories to improve things 4. Shared pager responsibility