Hetzner Cloud
Create and delete Hetzner Cloud servers
Actions
Section titled “Actions” Create Server Create a Hetzner Cloud server and wait for the action to complete
Delete Server Delete a Hetzner Cloud server and wait for the action to complete
Instructions
Section titled “Instructions”API Token: Create a token in Hetzner Cloud Console → Project → Security → API Tokens. Use Read & Write scope.
Create Server
Section titled “Create Server”The Create Server component creates a new server in Hetzner Cloud and waits for the create action to complete.
How It Works
Section titled “How It Works”- Creates a server with the given name, server type, image, and optional location/SSH keys/user data
- Polls the Hetzner API until the create action finishes
- Emits the server details on the default output when ready. If creation fails, the execution errors.
Configuration
Section titled “Configuration”- Name: Server name (supports expressions)
- Server type: e.g. cx11, cpx11, cax11
- Image: Image name or ID, e.g. ubuntu-24.04
- Location (optional): e.g. fsn1, nbg1, hel1
- SSH keys (optional): List of SSH key names or IDs
- User data (optional): Cloud-init user data
Example Output
Section titled “Example Output”{ "created": "2024-01-15T10:30:00+00:00", "id": 42, "name": "my-server", "publicIp": "1.2.3.4", "status": "running"}Delete Server
Section titled “Delete Server”The Delete Server component deletes a server in Hetzner Cloud and waits for the delete action to complete.
How It Works
Section titled “How It Works”- Deletes the selected server via the Hetzner API
- Polls the API until the delete action finishes
- Emits on the default output when the server is deleted. If deletion fails, the execution errors.
Example Output
Section titled “Example Output”{ "actionId": 123, "serverId": 42}