Hetzner is an inexpensive cloud services provider. Based in Germany, it offers great VPS servers and very cheap prices. Rancher will unleash the full power of cloud servers by easily creating and maintaining your own Kubernetes cluster through a clean and unobtrusive UI. Kubernetes is a container orchestration tool developed by Google which helps to deploy software solutions with complex architectures like microservices.
We are installing “single-node” installation of Rancher. This means we are only using one server for installation, which works perfectly fine for testing or development purposes. If you want to use Rancher in production, you may want a more robust and reliable “High Availability” (HA) setup, which is fault-tolerant and even survives the failure of a server.
– Hetzner Cloud account.
– A SSH client, such as the ssh command on Linux/Mac/WSL, or PuTTY on Windows (we’ll use WSL in this tutorial).
– A domain (e.g. example.com).
1. Create a Hetzner Account and get API token (Location, Image, Type, Volume, Additional features, SSH Key, Name).
2. Setup DNS for your domain.
3. Start Rancher on your server.
4. Setup Hetzner Cloud Node Driver.
5. Cluster node template.
6. Create the cluster.
7. Configuring your cluster.
Deploying a Kubernetes cluster using Rancher on Hetzner servers allows you to achieve 5X savings compared to Amazon AWS!