Providers with extra setup
From README.md, rendered when the site was built.
-
Cloudflare has no hosted sandbox API: a sandbox is a Durable Object plus the Container it starts, inside your own Worker. Deploy the bridge in templates/cloudflare-worker (
npm install, thennpx wrangler secret put SANDBOX_TOKENandnpx wrangler deploy). Then setCLOUDFLARE_SANDBOX_URLto the Worker's URL andCLOUDFLARE_SANDBOX_TOKENto the same secret. The bridge uses@cloudflare/sandbox1.x and destroys each container at its deadline with a Durable Object alarm. The sandbox size is theinstance_typeinwrangler.jsonc. -
No timeout of their own. These providers don't stop a sandbox at the requested timeout:
- Fly Sprites, Celesto, BoxLite, Dedalus, CreateOS, exe.dev and Agent37 have no TTL.
- A Northflank service restarts its container when it exits.
Their adapters declare
enforcesTimeout: false, so the router deletes the sandbox at the deadline itself.sbr sweep(run every 5 minutes bysbr serve) deletes any it missed. -
AWS Lambda MicroVMs have no exec API. Build the image in templates/aws-lambda-microvm: its dependency-free
execd.mjsruns commands and moves files behind the VM's endpoint. Then setLAMBDA_MICROVM_IMAGEto the image ARN. -
Google Cloud Run sandboxes have no API of their own. Build the image in templates/cloud-run-sandbox and set
CLOUD_RUN_SANDBOX_IMAGE; the region must offer Cloud Run instances (notus-central1,us-east1oreurope-west1). -
GKE Agent Sandbox needs agent-sandbox installed with its extensions, a
SandboxWarmPoolwhose pods run sandboxd, and the sandbox-router exposed outside the cluster. A cluster CA that Node doesn't trust goes inNODE_EXTRA_CA_CERTS. -
Azure Container Apps Sandboxes need a sandbox group (
Microsoft.App/sandboxGroups). The default image is the publicubuntudisk image;options.imagenames another public one, and a template (--template azure-sandboxes=<disk image id>) uses your own. -
Thunder Compute runs commands over SSH only. The adapter generates a throwaway key, gets a certificate from the API, and uses the system
sshandssh-keygen. Sandbox access is enabled through Thunder's sales team. -
exe.dev has one API endpoint,
POST /exec, which takes SSH command text and cuts each call off at 30 seconds. Mint a token that may runnew,ssh,rmandls. -
Access gates: Dedalus Machines needs beta access (403 until admitted), and Quivvo puts new free accounts in a queue.
-
Together and Morph boot from snapshots. When you give an
image(or nothing), the adapter builds the snapshot once per image or size and reuses it. Atemplate(--template together=<alias>) skips that step. -
Fly Machines needs an app you own (
FLY_APP). -
Northflank needs a project (
NORTHFLANK_PROJECT). -
Nirvana Labs runs sandboxes on a sandbox cluster you create first (dashboard, or
POST /v1/sandbox_clusterswith an instance type, node count and region). Its nodes are billed by the hour from then on, sandboxes or not. SetNIRVANA_SANDBOX_CLUSTER_IDonce its status isready. -
Workpaper, Rayrun and tama keep a stopped or idle machine instead of deleting it (Workpaper pauses after an idle hour, Rayrun cold-stops at
max_lifetime_seconds, tama stops at its idlettl), so they declareenforcesTimeout: falsetoo. A new Rayrun sandbox has no network by default: the adapter opens egress, andoptions.egress: "closed"keeps it shut. Its default image isubuntu@1(options.agentor a template names another).