← ClaudeAtlas

hetzner-server-provisionlisted

Use this skill whenever the user wants to create, provision, or spin up a new Hetzner Cloud server. Triggers on phrases like "create a server on Hetzner", "spin up a Hetzner VPS", "set up a new Hetzner instance", "deploy to Hetzner", or any mention of Hetzner server creation. Also use when the user wants to migrate to a different Hetzner location or server type. Always invoke this skill before manually running Hetzner API calls — it handles all the edge cases automatically.
punkaze/skills · ★ 1 · DevOps & Infrastructure · score 75
Install: claude install-skill punkaze/skills
# Hetzner Server Provision Provision a production-ready Hetzner Cloud server end-to-end: choose type/location, create the firewall, boot the server, and install Docker + Nginx + Certbot. The mechanics live in `scripts/`; this file covers *when* to run each one and the judgment calls. **Announce at start:** "I'm using the hetzner-server-provision skill to set up your Hetzner server." ## Prerequisites This skill uses Hetzner's official `hcloud` CLI (cleaner and more robust than raw API curl — it waits for the server natively and gives readable errors). - **hcloud CLI** — `command -v hcloud || brew install hcloud` - **API token** — export it so every script picks it up: ```bash export HCLOUD_TOKEN="<your-hetzner-api-token>" ``` (or `hcloud context create <name>` once, interactively). Ask the user for the token if it isn't set. ## Step 0: Gather Requirements Before provisioning, collect: - **SSH public key** — check `~/.ssh/*.pub`, ask which to use if multiple found - **Server purpose** — dev or production? (affects size recommendation) - **Location preference** — or let the skill fall back across EU locations - **Server name** — e.g. `my-app-dev` ## Step 1: Pick Type & Location ```bash scripts/list-server-types.sh # all types, cheapest first scripts/list-server-types.sh --location hel1 # filter to one location scripts/list-server-types.sh --arch arm # arm only (or: --arch x86) ``` **Recommendation guide** (specs only — prices drift, so read