Hacker News new | ask | show | jobs
by snaky 2744 days ago
https://www.hetzner.com/dedicated-rootserver/px61-nvme

Substract VAT from the price, add HDD for WAL, and setup PostgreSQL on a couple of them.

2 comments

Don't understand why you're being downvoted. Install Kubernetes and make your own cloud. It really depends on your workload whether that's better than managed cloud services with elastic scaling:

* your software has a startup time that takes too long - cannot scale down easily

* you have a constant base load with only moderate peaks

* you'd rather run other background tasks at times with low load than scaling down - this way you get a bunch of "free" compute power you can use for other things

Installing kunernetes is something you can only suggest if you haven't done yourself. Getting it right is extremely non trivial
Having set up couple of clusters myself, professionally, I can say setup is extremely easy relative to the functionality you are getting if you wanted to get it by traditional means (traditional = pre-cloud tech).

What is complicated is that this absolutely does not absolve you from having to understand everything that is happening under the hood. If you feel Kubernetes replaces that requirement you are doomed first time a non-trivial issue happens.

Could you share some insights on what you think is "extremely non trivial"? In what way is Kubernetes harder than what's to be expected of a technology that orchestrates serverside software? Doesn't this rather depend on the actual services you want to run rather than Kubernetes itself? Obviously it won't reduce complexity of what you want to run, but it makes deployments of it pretty straight forward as far as I can tell.
I have so far found Hetzner Dedicated servers to resist most forms of "infrastructure as code".

I can't seem to even be able to restore one from an image...

This applies only to dedicated ... but to me that's the interesting part of Hetzner.

I might just use Ansible to provision Hetzner servers that I set up manually initially. The cost savings are there to make it worth the hassle.

Wish there was a cleaner approach.

I wouldn't suggest to use that for the main DB, but for almost everything else docker works perfectly fine on Hetzner.
Right, but I'm concerned with the initial provisioning of the OS on which docker runs. It's not nothing even if the apps run in docker.
In most cases, you can just provision the OS from a web interface. If you get a bigger machine where you need to configure the disks yourself, there is a pretty easy to use command line tool they built which does most of the work.

The only part which I had to learn the hard way is configuring iptables to secure my servers against external attacks. Luckily, recent versions of docker make it easy to keep iptables configured - at the beginning, that was almost a nightmare...

Is there a command line tool to automate installing the OS?

Well what I would really like is to be able to deploy something like an "AMI" on these dedicated servers. Any ideas for how to get something close?