hetzner-server-provisionlisted
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