1
3 Comments

Stop paying Paas for your side projects

https://blog.khorchani.fr/post/2022-07-11-host-all-your-applications-one-server/

Hello,

I just wrote an article about how to setup a Paas like architecture on any bare metal (cheap) VPS. Used to host many side projects server applications on one machine, like a PRO.

Hope you find thins useful and stop paying huge amount to Heroku :)

Nice reading,

submitted this linkon July 25, 2022
  1. 3

    I agree that most PaaS (especially Heroku) are expensive. If I run the infrastructure myself, even if it is in a PaaS-like setup I get a whole lot of stuff to worry about but pay probably less. I trade time (and worries) for money. And the whole point of a PaaS is that I don't have to worry about (almost) anything so that I can focus on the important stuff.

    1. 1

      Hello jansroka,

      Yes I agree with you that you should focus on building the product rather than dealing with infra, But I am mainly trying to explain that, we can even do Heroku-like infra with a little-or-no hassle. I am supposing here that the reader should know a minimum basics of docker, but I am showing here that the setup is fully AUTO :

      • No need to write command line since with Portainer, just some clicks and we are up and running with any container.
      • No need to handle complex nginx (reverse proxy) configuration to setup SSL nor to handle domain specific redirection to each application container : When launching other containers, it will update configuration with 0 downtime
      • No need to install Let'sEncrypt's cert bot nor handle automatic certificate renew, another container is just doing it and you forgot about it.
      • Crash handling is fully handled by docker
      • Databases update is fully managed bu docker/portainer that fetches the last image.

      I really found this very productive, intuitive and hassle-free, as someone was doing it manually. I am hosting near 20 applications server on same machine with 0 configuration.

    2. 1

      I agree with you 100%! Dealing with servers, databases, updates etc can be a lot of work.