hetzner-cloud-management
Installation
SKILL.md
Hetzner Cloud Management
Comprehensive management of Hetzner Cloud infrastructure using the official hcloud CLI. Covers servers, networks, firewalls, load balancers, volumes, floating IPs, and automation workflows.
Quick Reference
| Task | Command | Notes |
|---|---|---|
| Create Server | hcloud server create --name <name> --type <type> --image <image> |
Add --ssh-key, --network, --firewall for production |
| List Servers | hcloud server list |
Use --output json for scripting |
| Server Control | hcloud server [poweron|shutdown|reboot|reset] <name> |
reset is hard reset |
| SSH Access | hcloud server ssh <name> |
Direct SSH connection |
| Create Snapshot | hcloud server create-image <name> --type snapshot |
For backups before changes |
| Create Network | hcloud network create --name <name> --ip-range <cidr> |
Private networking |
| Create Firewall | hcloud firewall create --name <name> --rules-file <file> |
JSON format for rules |
| Create Load Balancer | hcloud load-balancer create --name <name> --type <type> |
Add services and targets after |
| Context Switch | hcloud context use <context> |
Multi-project management |
| JSON Output | hcloud <command> --output json |
Pipe to jq for parsing |