Create Cube
create_cubeProvision a new Cube in a Krova Cloud Space with specified name, OS image, vCPU, RAM, disk, and SSH key. Starts hourly billing; the Cube begins in a pending state.
Instructions
Create (provision) a new Cube in a Space. Provisioning is asynchronous — the returned Cube begins in a pending state. Destructive/billable: creating a Cube starts hourly billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable Cube name. | |
| vcpu | Yes | Number of virtual CPUs. Default per-space cap is 16 (can be raised for your space). | |
| image | Yes | OS image slug (see the list_images tool for valid values). | |
| ramGb | Yes | RAM in whole GiB. Default per-space cap is 32 GB (can be raised for your space). | |
| diskGb | Yes | Disk in GiB — minimum 10, in steps of 5. Default per-space cap is 100 GB (can be raised for your space). | |
| region | No | Optional region slug (see the list_regions tool). Omit to let Krova Cloud auto-select a region with capacity. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. | |
| userData | No | Optional cloud-init script (max 16 KiB). | |
| sshPublicKey | Yes | SSH public key written to the Cube login user's authorized_keys at boot — ~/.ssh/authorized_keys for the ubuntu or debian user, /root/.ssh/authorized_keys on Cubes created before the default-user change. Use get_cube_ssh to learn which user a given Cube logs in as. Must start with ssh-ed25519, ssh-rsa, ecdsa-sha2-*, ssh-dss, or sk-*@openssh.com. |