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

How Intercom Ships Code to Production 100 Times a Day

How Intercom Ships Code to Production 100 Times a Day

Presented at Shipitcon 2017 - http://shipitcon.com

Intercom has practiced Continuous Deployment since the very early days of the company. This has meant that our engineering culture and practices have evolved around, and heavily rely upon, our build and deployment infrastructure. With the rapid growth we’ve experienced over the last few years, maintaining and improving these systems has been critical to keeping our ability to move fast and iterate quickly. This talk will cover the evolution of Intercom’s internal deployment system, Muster, as our engineering organisation has grown from 4 people hacking on a Rails app to a team of almost 100 working on multiple applications in a constellation of languages and frameworks.

Eugene Kenny

August 25, 2017
Tweet

More Decks by Eugene Kenny

Other Decks in Programming

Transcript

  1. How Intercom ships code to production 100 times a day

    Eugene Kenny Senior Engineer,
 Intercom
  2. Deploys per day 0 17.5 35 52.5 70 2012 2013

    2014 2015 2016 2017 Intercom Embercom
  3. In the beginning • Intercom originally deployed to Heroku •

    Built Muster in 2012 • Based on experience with similar tools at previous companies @eugeneius
  4. Getting up to speed • I joined Intercom in 2013,

    with no experience in continuous deployment • Came from a smaller company that deployed code manually • How hard could it be? @eugeneius
  5. The latest change that passed CI is automatically deployed to

    production unless the pipeline is locked or rolled back @eugeneius
  6. In the beginning • Check out the code • Run:

    – bundle install – rake assets:precompile • @eugeneius
  7. Additional languages • New Java service needed to be deployed

    • Taught Muster about different project types, configuration files… • Added complexity, but unblocked the team @eugeneius
  8. Ruby upgrade problem • Upgrade different apps at different times

    • Use different version from Muster itself • Containers… Heroku? @eugeneius
  9. Deploying frontend apps • Muster assumed the release would be

    deployed and run on EC2 instances • Doesn’t fit with frontend apps (Ember.js) • Implemented an S3 deployment target • Muster is now more complex (again!) @eugeneius
  10. Muster used to deploy itself • Seemed awesome - dogfooding!

    • It was (sometimes) not awesome • Weird failure modes @eugeneius
  11. Why not buy it? • Started in 2012, not many

    options • Broad responsibilities: build, deployment, infrastructure management… • Have tried to replace individual components, with mixed results @eugeneius