re: How would you deploy a simple web application to a single VM? VIEW POST


I use Docker. It takes time to understand it and learn some basic stuff and commands, but at the end you will get a sustainable, predictable, scalable way of running your apps.
Just an example. You have some simple app backed, frontend, maybe Redis and some database. You prepared docker compose file once for development, then you could use almost the same configuration for production. If you configured it once very well you could use it everywhere, migrate from one host to another without having troubles with running tons of commands. Then let's imagine your app or product getting more and more parts. You managed to have CI, and it's not a problem because you already have dockerfile configured. Then if you start use orchestration tools such as Kubernetes, it also will not be a problem, because your dockerfile already there.

code of conduct - report abuse