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

Creating a Heroku-like deployment solution with Docker

Creating a Heroku-like deployment solution with Docker

As developers, it is part of our job to build tools to make our life easier, usually through automation of every kind of action. My first option when hosting an application is Heroku, but there are sometimes when this is not an option. Since I love that kind of easiness for deploying software, I built my own deploy tool, that works much like Heroku’s.

This presentation covers the creation of an automation tool for deploying your software in a simple way, similar to deploying to Heroku. I’ll explain how to use Docker to version control each deploy, how to use a Docker Registry to upload containers. After that, I’ll show to wrap everything in simple Ruby CLI script, capable of deploying a sample application to a remote host, and some other extra commands for rolling back to previous versions, attaching logs and tracking which application version is running.

C456c99bd027622154db5f9e695afa7c?s=128

Pedro Cavalheiro

October 24, 2017
Tweet

Transcript

  1. None
  2. None
  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. None
  22. None
  23. None
  24. None
  25. None
  26. None
  27. None