5 ms·
Does anyone know if these Docker+Kontena type of things could be used for smaller scaled deployments? I've always wondered if there's an easy way to deploy a P
by vim_wannabe 9y ago
Does anyone know if these Docker+Kontena type of things could be used for smaller scaled deployments?
I've always wondered if there's an easy way to deploy a Postgres server and a couple of application servers that would mostly take care of themselves. Upkeeping standard VPS servers is annoying with all kinds of setup/update SSH work. Of course you can buy a traditional hosting service from someone but those are usually restricted to PHP/Mysql. Or you can go with Heroku but then there's a whole lot of other restrictions. Then there's the full AWS route but that has a very costly database use/network transfer cost.
In my imagination I would want to set up a Docker script for Postgres, another Docker script for Nginx and my application, and then push them out to the internet and have them fend off for themselves. I'm really bad at figuring out what Kontena etc. does and if they can be used at all for something small like this, but there's some keywords that I like from the features page:
- Native support for databases
- Health checks/automatic restart
- Let's encrypt support (I can set these up with the docker script too but seems interesting)
- Zero-downtime rolling deploys (Not that interesting for me but I guess this could also mean that it is easy to update my application server?)
- Logging/monitoring (I guess most vps have this too)
- Automatic maintenance and security updates
- nevalau 9y agoHi, I'm one of the co-founders of Kontena. Our target from day zero has been that you can start with small setup and scale up later if needed. So it's totally okay to run only one node with Kontena. Of course if you want to gain HA setup, minimum of 3 nodes is recommended.
- vim_wannabe 9y agoThis definitely sounds interesting. What would my job be after I manage to make the setup work: Backing up the database?
- nevalau 9y agoYes, backing up the database is one thing. After the setup you can just concentrate on your applications. Btw we are introducing hosted version of the Kontena platform soon, which will make the setup even easier. If you are interested in that option, you can join waiting list already: https://www.kontena.io/invite https://www.kontena.io/invite
- baronseng 9y agoYou can also look at flynn https://flynn.io/ https://flynn.io/ which have database HA built in. But I've a hard time running it.