Provision a GPU instance for batch OCR, training, inference, or any workload that needs dedicated hardware. Attach one or more vaults at launch and they mount atDocumentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
/mnt/vault/{name}/ — no manual uploads, no long-lived AWS keys.
Pricing is per-second with a 1-minute minimum. The pricePerHour on every response already includes the 20% platform fee. Query GET /compute/v1/instance-types for live availability and GET /compute/v1/pricing for a sorted rate sheet.
Launch an instance
id, initial status: "booting", and the generated SSH key name. Poll instances.retrieve(id) (any language) until status === "running" and the response includes ssh.privateKey + vaultMounts.setupScript.
After the launch
Boot takes 2–5 minutes. Poll untilstatus === "running", then pull the SSH key and the generated vault-mount script:
/mnt/vault/{vault-name}/:
/mnt/vault/ go through rclone using short-lived, vault-scoped STS credentials — the setup script configures all of that. When you’re done:
Credential lifecycle
The setup script contains short-lived AWS STS credentials, not static keys. They’re minted fresh on everyGET of the instance via sts:AssumeRoleWithWebIdentity with a SessionPolicy scoped to just your attached vault buckets.
- 12-hour TTL. After expiry, rclone fails with
ExpiredToken. Re-GET the instance for a fresh script and restart the mount. - Per-instance scope. Leaked creds can’t reach another instance’s vaults, other S3 buckets, or any non-S3 AWS service.
compute:writerequired to receive the SSH private key and setup script.compute:readkeys see instance metadata without that material.
For workloads that run longer than 12 hours, keep
autoShutdownMinutes ≤ 720, or script the credential refresh in step 3 against a cron on the VM.Permissions
| Scope | What it allows |
|---|---|
compute:read | List instance types, list your instances, view instance metadata |
compute:write | Launch, terminate, retrieve SSH key + vault setup script |
Related
- API Reference → Compute — full schemas for every
/compute/v1/*endpoint - Vaults — the storage that mounts into your instances
- Sovereign Legal AI — dedicated model hosting for compliance-bound clients

