Hetzner Cloud

You can automatically provision and deploy to Hetzner Cloud servers in any supported location via Cloud 66.

How to add your Hetzner API key to Cloud 66

You need to add a Hetzner Cloud API key to your Cloud 66 account in order to integrate them. On Hetzner API keys are specific to “projects”. To generate an API key:

  1. Log into your Hetzner Cloud dashboard
  2. Either add a new project or click on an existing one
  3. Click on the key (Access) in the left-hand navigation
  4. Click on API Tokens at the top of the main panel
  5. Click the Generate API Token button (top right) and give your token a name (e.g. Cloud 66)
  6. Copy the API token and save it somewhere (it won’t ever be shown again by Hetzner)
  7. Log into your Cloud 66 dashboard and go to Account SettingsCloud Keys.
  8. Click the green + and then select Hetzner as your cloud platform and follow the instructions to add your key.

Using multiple API keys with Hetzner

If you need your servers to be separated for different applications, you should create a separate project in your Hetzner Cloud account, create an API key for that project, and then add it to Cloud 66. Be sure to name your keys to make them easy to recognise and differentiate on both Hetzner and Cloud 66.

You will be able to choose between API keys (and therefore between your Hetzner projects) whenever you create a new application. However you cannot use an API key from a different project once an application has been created. It will always use the project that it was assigned to during initial setup.

Custom disk sizes aren’t supported

Hetzner Cloud does not allow custom disk sizes for new instances. As such any disk size specified in your configuration files or via the Dashboard will be ignored by Hetzner.

Support for older versions of Ubuntu

Hetzner doesn’t natively support Ubuntu 14.04, so only versions 16.04 and 18.04 are deployable through Cloud 66.