Cloud Infrastructure
Infrastructure patterns for Kubernetes clusters. Implementation via hcloud CLI. All scripts are idempotent.
Core Components
| Component |
Purpose |
hcloud Command |
| Compute |
VM instances for nodes |
hcloud server |
| Network |
Private connectivity |
hcloud network |
| Load Balancer |
Traffic distribution |
hcloud load-balancer |
| Firewall |
Network security |
hcloud firewall |
| DNS |
Name resolution |
hcloud zone |
| Storage |
Block storage |
hcloud volume |
Server Type Selection
If a server type is unavailable in the preferred location, try other European locations:
# Check availability across EU locations
for loc in fsn1 nbg1 hel1; do
echo "=== $loc ===" && hcloud server-type list --selector location=$loc
done
EU locations: fsn1 (Falkenstein), nbg1 (Nuremberg), hel1 (Helsinki)
Quick Start
# Install hcloud CLI
curl -sL https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz | tar xz
sudo mv hcloud /usr/local/bin/
# Set token
export HCLOUD_TOKEN="your-token"
# Verify
hcloud server list
hcloud Reference
Provisioning
See references/provisioning.md for step-by-step infrastructure setup.
References