LinuxCommandLibrary

hcloud

TLDR

List servers

$ hcloud server list
copy
Create server
$ hcloud server create --name [myserver] --type [cx11] --image [ubuntu-22.04]
copy
SSH to server
$ hcloud server ssh [myserver]
copy
Delete server
$ hcloud server delete [myserver]
copy
List images
$ hcloud image list
copy
Create snapshot
$ hcloud server create-image [myserver] --type snapshot
copy

SYNOPSIS

hcloud command [options]

DESCRIPTION

hcloud is the command-line interface for Hetzner Cloud. It manages cloud servers, images, volumes, and networks.
The tool provides complete control over Hetzner Cloud infrastructure. It supports automation and scripting for cloud resource management.
hcloud manages Hetzner Cloud resources.

PARAMETERS

COMMAND

Subcommand to execute.
server
Server operations.
image
Image operations.
volume
Volume operations.
network
Network operations.
context
Context management.
--help
Display help information.

CAVEATS

Requires API token. Hetzner Cloud specific. Some operations incur costs.

HISTORY

hcloud was developed by Hetzner as the official CLI for their cloud platform.

SEE ALSO

doctl(1), aws(1), gcloud(1)

Copied to clipboard