Update I changed my setup because the Docker image used in this post got deprecated and is no longer maintained. Read about my new setup using restic to automatically backup Docker volumes. 👉 New setup Original post For my server needs, I rent a small VPS at Hetzner Cloud. It has two vCPUs, 4 GB of RAM, 40 GB of storage and I can use 20 TB of outgoing traffic each month (the incoming traffic is free and unlimited) and it only costs me 5,83€ each month, a lot cheaper than DigitalOcean, Linode or even AWS.
When I wrote, that I switched from a Ghost-based blog to a static site generated by Hugo, I made the following statement: I don’t use a service like GitHub pages or Netlify, because using my own server really guarantees me full control. But it would be a good alternative, if you don’t want to manage your own server. Netlify can also cover the automatic deploy process. Since then I switched all my blogs from Ghost to Hugo, but also started using Netlify for the hosting of my static sites.
Hugo is a framework to build static websites. Yesterday I migrated this blog from Ghost - a dynamic NodeJS based CMS - to Hugo, not only to reduce the hardware requirements (a static page uses way less resources), but also to simplify my setup. I already use Hugo for two basic homepages (my personal one and the AndroidPub one), where I don’t have that many requirements regarding “blogging”, because I don’t use them for blogs.
Ubuntu was the first Linux Distro I “really” used. Before that I sometimes used Knoppix to disable some time limits on my PC my parents set me (but that’s another thing). I used Ubuntu to revive some old PCs I got from school, including my first laptop. Ubuntu is the distro most people start their Linux journey with, wether it’s on the desktop or a server. But I’m always a specialist in trying to customize my system too much and somehow destroying it along the way.
Containers are wonderful and Docker is a really awesome and lifesaving technology, even if you don’t host sites and services with millions of users that need to auto-scale etc. Docker can already simplify a simple hosting setup just with a couple of small webpages and a Git server. Some months ago I switched my whole setup to use only Docker. I used Ubuntu server because that was the best option at my hosting provider.