Skip to content

Hetzner cloud services

hcloud cli

Setup

Create an API token and then:

hcloud context create varac

Create a server / VPS

hcloud ssh-key create --name id_ed25519 --public-key-from-file ~/.ssh/id_ed25519.pub
hcloud config set default-ssh-keys id_ed25519

Choose server type (look for locations where this server type is available / recommended):

hcloud server-type list
hcloud server-type describe cx23

Choose server disk image:

hcloud image list --type system
hcloud image describe 310554929  # Debian 13, x86

Create the server:

hcloud server create --name asterisk --type cx23 --image debian-13