Heroku as a production platform

Heroku as a production platform

Learnings from using Heroku to host a production system, presented at Jfokus in Stockholm.

A204e1fe2002bc6d087391759c3dfab0?s=128

Mårten Gustafson

February 03, 2015
Tweet

Transcript

  1. as a production platform

  2. Howdy! I’m Mårten Gustafson

  3. None
  4. Why?

  5. Servers We saw no need

  6. Architecture 12 factor compliance

  7. DevOps No ops/infra team

  8. Our setup

  9. None
  10. Our history Glesys => UpCloud => Heroku

  11. Since November 2013

  12. Red Green Refactor

  13. Red Green Refactor Code push

  14. Bronson.io Red Green Refactor Open PR Code review, build &

    unit tests
  15. Bronson.io Red Green Refactor Code review, build & unit tests

  16. Bronson.io Red Green Refactor Merge to master Build & unit

    tests
  17. Bronson.io Red Green Refactor Build & unit tests Stage deploy

  18. Bronson.io Red Green Refactor Stage deploy

  19. Bronson.io Red Green Refactor Production deploy

  20. Bronson.io Red Green Refactor

  21. Learnings

  22. Organizations Organisation == Environment

  23. Preboot Zero downtime deploy

  24. Add-ons per-app per-env control

  25. Delegate Access & responsibility

  26. Pipelines Don’t push, promote

  27. Auto-deploy At least to staging

  28. Transparency Audit trail & chat log

  29. Challenges

  30. Service discovery We use DNS

  31. Auto-scaling API vs add-ons

  32. Provisioning terraform.io

  33. SSL certificates manual vs add-ons

  34. Questions? marten@plan3.se