BoxCloud Documentation
Compute

VM Quickstart & Hourly Billing

Provision NVMe Cloud VMs in thr-1 with predefined plans, Cloud-Init, and strict hourly-only $/hr billing.

Prerequisites

Deployment Steps

  1. Select a predefined VM plan and region (e.g. thr-1) via GET /v1/catalog/offerings or the Customer Portal Deploy wizard.
  2. Every BoxCloud VM is billed strictly per hour ($/hr) from your prepaid wallet balance using exact fixed-point NUMERIC(38,10) decimal math.
  3. Create a VM with POST /v1/compute/vms or POST /v1/orders, passing optional ssh_key_ids and startup_script_id.
  4. Inspect state and IP addresses with GET /v1/compute/vms/{id}, expand root disk up to 2x base plan size with POST /v1/compute/vms/{id}/disk-expand, or manage power state with POST /v1/compute/vms/{id}/power.

Sample Config (vm-request.json)

{"binding_id":"bind-pve-1","region":"thr-1","hostname":"app-01","ssh_key_ids":["ssh-key-id"]}

Deploy with bxctl CLI

bxctl vm create --region thr-1 --hostname app-01 --plan vm-std-2vcpu-4g

Ready-to-Paste Cursor / Claude MCP Prompt

Provision a 2 vCPU / 4 GiB Cloud VM in thr-1 named app-01 using my default SSH key, and set an hourly spend cap alert at 80%.

REST API Example

curl -sS -X POST https://api.boxcloud.io/v1/compute/vms \
  -H 'Authorization: Bearer $TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"binding_id":"bind-pve-1","region":"thr-1","hostname":"app-01","ssh_key_ids":["ssh-key-id"]}'

Hourly-only $/hr billing starting from $5.00 USD prepaid entry with Hard Spend Caps.

Estimate Hourly Runway ($/hr)

Back to OpenAPI /v1 Reference (517 endpoints)