Ployter

Connect Hetzner

How to connect a Hetzner Cloud project with a token, what the dashboard creates in it and what changes compared to AWS and DigitalOcean.

With Hetzner connected, the dashboard creates servers, the private network and firewalls in a Hetzner Cloud project. The connection uses a project token, stored encrypted in the dashboard. Everything the dashboard creates is billed by Hetzner.

Before you start

  • In the dashboard, you need the Manage providers permission. By default, only the team owner has it.
  • On Hetzner, a token works for one project only. Create or pick the project where the servers will live. To use another project, connect another Hetzner account in the dashboard.

Limits compared to AWS and DigitalOcean

Note

On Hetzner the dashboard creates only servers, network and firewall. There is no load balancer in the dashboard (each service runs on a single server, with no replicas or autoscaling), and Hetzner has no managed database, cache or bucket: the database runs as a service on the server. See Databases as a service.

Hetzner DigitalOcean AWS
Servers, network and firewall Yes Yes Yes
Managed databases and cache No Yes Yes
Buckets No Spaces S3
Load balancer, replicas and autoscaling No Yes Yes
Server disk Comes with the type Comes with the size You pick it in GB

1. Create the token

  1. In the Hetzner console, open the project.
  2. Go to Security → API tokens and click Generate API token.
  3. Give it a name, for example ployter.
  4. Under Permissions, pick Read & Write. A read-only token is refused when you connect.
  5. Click Generate API token and copy the token. It is shown only once.

2. Paste the token in the dashboard

  1. Open Integrations → Cloud providers and click Other clouds → Hetzner.
  2. Fill in the Name (for example, Hetzner Production).
  3. Pick the Default region. It comes selected when you create servers; you can use others later.
  4. Paste the token in the Paste the token step.
  5. Click Connect.

The dashboard checks the token on Hetzner before saving: it reads the project and creates and deletes an empty firewall, to be sure the token can create resources. If it is refused, "Credential rejected" shows up with the reason.

Connect Hetzner modal
Connect Hetzner modal

Available locations

Location Code
Falkenstein, Germany fsn1
Nuremberg, Germany nbg1
Helsinki, Finland hel1
Ashburn, USA ash
Hillsboro, USA hil
Singapore sin

Server types

The disk comes with the type. The dashboard shows only x86 types (the ARM CAX types are left out, because the agent image is x86):

  • CX (cost-optimized): cx23, cx33, cx43, cx53. Available only in Germany and Finland; in other locations the form does not show them.
  • CPX (regular performance): cpx22 to cpx62, in every location.
  • CCX (dedicated CPU): ccx13 to ccx43, in every location.

What the dashboard creates in the project

  • Server: Ubuntu 24.04 with its own firewall. The firewall opens 80 and 443; 22 only if you enter an SSH key when creating it (the name, fingerprint or number of the key added under Security → SSH keys). The Hetzner public IP does not change when the server restarts or is powered off, so there is no separate static IP. See Servers.
  • Network: a private network with a subnet in the location's zone (Germany and Finland share the same zone). Servers in the network talk over their private IP. See Private network and firewall.

Everything the dashboard creates gets the managed-by label, so you can spot it in the console.

Costs

Hetzner bills in euros, and the dashboard's Costs screen adds up in dollars. So a Hetzner server shows up without a list price, with the euro value in the notice. Open the server and enter the Monthly cost (US$) to include it. See Subscription, plans and costs.

After connecting

The account shows up as a card in Integrations → Cloud providers, with the Access (Token with the start and end of the token), the Default region, the number of Servers, the No load balancer: one server per service notice and the Networks.

Connected Hetzner provider card
Connected Hetzner provider card

In the card's ⋮ menu:

  • Edit: changes the name and default region.
  • Change access: opens the Change token modal, to paste a new token without losing the servers.
  • Remove: takes the provider out of the dashboard.

Remove access

  1. Delete the servers of this account first. With servers, the dashboard does not let you remove it.
  2. Remove the networks from the card (trash icon next to each network). The private network created by the dashboard is deleted from the project; a network that already existed stays.
  3. Open ⋮ → Remove and confirm.
  4. The token is still valid on Hetzner. Delete it under Security → API tokens.
Warning

Deleting the token before removing the servers through the dashboard leaves servers and firewalls in the project, billing you, and the dashboard can no longer delete them.