Skip to main content

Prerequisites

First and foremost, you need to have a Hetzner Cloud account. You can sign up for free here.

Then you'll need to have terraform or tofu, packer (for the initial snapshot creation only, no longer needed once that's done), kubectl cli and hcloud the Hetzner cli for convenience.

The easiest way is to use the homebrew package manager to install them (available on MacOS, Linux and Windows Linux Subsystem). The timeout command is also used, which is part of coreutils on MacOS.

ToolInstallation Command
Homebrew (macOS/Linux)brew install terraform packer kubectl hcloud
Yay/Paru (Arch-based)yay -S terraform packer kubectl hcloud
paru -S terraform packer kubectl hcloud
APT (Debian-based)sudo apt install terraform packer kubectl
DNF (Red Hat-based)sudo dnf install terraform packer kubectl
Snapsudo snap install terraform kubectl --classic && snap install packer
Chocolatey (Windows)choco install terraform packer kubernetes-cli hetzner-cli