Create a server
hetzner_create_serverProvision a new server. THIS STARTS BILLING: the chosen server type is charged by the hour from the moment it boots. Call hetzner_list_server_types first to see prices, and hetzner_list_images for a bootable image. Hetzner Cloud: POST /servers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A unique name for the server (also its hostname). | |
| image | Yes | Image name or id to boot, e.g. ubuntu-24.04. | |
| labels | No | Labels for filtering later. | |
| location | No | Location name, e.g. fsn1. Defaults to Hetzner's choice. | |
| ssh_keys | No | SSH key names or ids to authorise. Without one, Hetzner emails a root password. | |
| user_data | No | cloud-init user data to run on first boot. | |
| server_type | Yes | Server type name, e.g. cx22. See hetzner_list_server_types. | |
| start_after_create | No | Boot the server immediately. Defaults to true. |