Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deployment @intercom

Deployment @intercom

Talk about the cultural motivations/benefits of continuous deployment, and a little about the technical details of how we achieve zero-downtime deploys, dozens of times a day in ~10 minutes from master to production.

(some slides light in details, was awesome in real life though, honest ;)

Presented at the DevOps Ireland meetup on 2nd May 2013: http://www.meetup.com/DevOps-Ireland/

Darragh Curran

May 02, 2013
Tweet

Other Decks in Programming

Transcript

  1. Delay Behavior Seconds Continuous Shipping Immediate feedback loop Minutes Shift

    in focus delay in communication temptation to batch Hours costly process only if in the morning batch by necessity Days poor feedback loop only near the start of the week formal processes Weeks/Months apologetic months become quarters management get ‘busy’ fun--
  2. Benefits of faster shipping ⾭ Motivation ⾭ Morale ⾭ Momentum

    ⾭ Feedback ⾭ Learning ⾭ Hiring ⾭ Satisfaction
  3. ASG 㱺 Instances that can start themselves cloud-init each instance

    know’s what/how to start based on AutoScaling group
  4. 3. deploy •update HEAD version pointer (s3) •trigger running instances

    to fetch/ run new version -touch tmp/restart.txt -Phusion Passenger enterprise
  5. Concepts ★ Shipping cadence defines a company ★ Every second

    counts in a process ★ Ability to ship frequently, regardless of complexity ★ Zero: co-ordination, manual intervention, downtime for deploy ★ Improving | Getting worse 㱺 no fence