News for hackers. Stuff that matters.
Re:UpCloud+Kontena – all Suomi (Finnish) love by vim_wannabe on Monday May 29, 2017 @08:00AM (#14438666)
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

Re:UpCloud+Kontena – all Suomi (Finnish) love by nevalau on Monday May 29, 2017 @08:17AM (#14438715)
Hi, 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.
Re:UpCloud+Kontena – all Suomi (Finnish) love by vim_wannabe on Monday May 29, 2017 @09:05AM (#14438882)
This definitely sounds interesting. What would my job be after I manage to make the setup work: Backing up the database?
Re:UpCloud+Kontena – all Suomi (Finnish) love by nevalau on Monday May 29, 2017 @10:32AM (#14439265)
Yes, 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
Re:UpCloud+Kontena – all Suomi (Finnish) love by baronseng on Monday May 29, 2017 @10:06PM (#14442640)
You can also look at flynn https://flynn.io/ which have database HA built in.

But I've a hard time running it.