Linux command
hcloud 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List servers
hcloud server list
Create server
hcloud server create --name [myserver] --type [cx11] --image [ubuntu-22.04]
SSH to server
hcloud server ssh [myserver]
Delete server
hcloud server delete [myserver]
List images
hcloud image list
Create snapshot
hcloud server create-image [myserver] --type snapshot
说明
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.
参数
- server
- Server operations.
- image
- Image operations.
- volume
- Volume operations.
- network
- Network operations.
- context
- Context management.
- --help
- Display help information.
FAQ
What is the hcloud command used for?
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.
How do I run a basic hcloud example?
Run `hcloud server list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does server do in hcloud?
Server operations.