aireserve CLI because it already covers the full
quote, launch, connection, and cleanup flow. You will create one GPU instance
with an ephemeral root disk and no persistent storage.
Before you begin
You need:- an organization API key with Compute: Manage access;
- an enabled, funded organization wallet;
- an SSH public key, such as
~/.ssh/id_ed25519.pub; jq, which the steps below use to read IDs out of the CLI’s output.
1
Install the CLI
2
Export a Compute-enabled API key
Create the key on the API Keys page. Keep it out of shell history and source control.
3
Request a quote
4
Launch and wait for SSH
--wait polls the durable operation until it reaches a terminal state, usually a minute or two, then returns the
instance and its connection details. If INSTANCE_ID prints null, the launch was refused: run
jq . <<<"$LAUNCHED" to read why. If the quote expired or the price moved, request a fresh quote and launch again.5
Connect
6
Terminate when finished
H100_80GB, any eligible normalized region, the
maintained PyTorch/CUDA image, a 50 GiB ephemeral root disk, and SSH only. The
quote is a price and placement decision—not a capacity reservation—so launch
rechecks current price and availability.
Keep files between runs
Add a persistent volume to the quote when checkpoints, datasets, or outputs must survive stop and termination:Prefer direct REST?
The same flow is available through:POST /v1/gpu/instances/quotePOST /v1/gpu/instanceswith anIdempotency-KeyGET /v1/gpu/operations/{operationId}until terminalGET /v1/gpu/instances/{instanceId}/connections