Complete reference for cloud CLI commands.
| Flag | Description |
|---|---|
-k, --api-key |
API key for authentication |
-j, --json |
Output in JSON format |
Manage authentication.
Generate a demo API key and save it.
cloud auth create-demo my-userSave an existing API key.
cloud auth login sk_abc123...Manage compute instances.
List all instances.
cloud compute listLaunch a new instance.
cloud compute launch --name my-server --image nginx:alpine --port 8080:80 --volume data:/var/lib/data| Flag | Default | Description |
|---|---|---|
-n, --name |
(required) | Instance name |
-i, --image |
alpine |
Docker image |
-p, --port |
Port mapping (host:container) | |
-v, --vpc |
VPC ID or Name | |
-V, --volume |
Volume attachment (vol-name:/path) |
Stop an instance.
cloud compute stop a1b2c3d4Terminate and remove an instance.
cloud compute rm my-serverView instance logs (supports ID or Name).
cloud compute logs my-serverShow detailed instance information.
cloud compute show my-serverShow instance CPU and Memory usage.
cloud compute stats my-serverManage block storage volumes.
List all volumes.
cloud volume listCreate a new volume.
cloud volume create --name my-data --size 10| Flag | Default | Description |
|---|---|---|
-n, --name |
(required) | Volume name |
-s, --size |
1 |
Size in GB |
Delete a volume.
cloud volume rm my-dataManage Virtual Private Clouds.
List all VPCs.
cloud vpc listCreate a new VPC.
cloud vpc create --name my-networkDelete a VPC.
cloud vpc rm my-networkView system event logs.
List recent events (audit log).
cloud events listManage object storage.
Upload a file.
cloud storage upload my-bucket README.md| Flag | Description |
|---|---|
--key |
Custom key (default: filename) |
List objects in a bucket.
cloud storage list my-bucketDownload an object.
cloud storage download my-bucket file.txt ./local.txtDelete an object.
cloud storage delete my-bucket file.txt