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

Build your own Heroku

Harry Marr
October 23, 2013

Build your own Heroku

Application deployment is still a big issue in 2013. This is one approach to how we can make it better.

Harry Marr

October 23, 2013
Tweet

More Decks by Harry Marr

Other Decks in Technology

Transcript

  1. How do we.... •Get from zero to up and running

    •Replicate in staging •Replicate in testing •Replicate in local
  2. Let’s build our own Heroku •Pull latest version of code

    •Run the build exactly once •Needs to be fast
  3. What a deploy with Docker looks like •Take a snapshot

    & create a new image which contains: ✓ App code ✓ Dependencies ✓ Config
  4. What a deploy with Docker looks like •Send our image

    to the Docker registry •Pull down the image from all our servers •Switch load balancers to serve new image
  5. We’re doing this @gocardless •Built a prototype •Quick to get

    up & running •Replicating staging •Not in production, yet