X-API-Key auth). A VM boots from a golden snapshot in ~300ms.hibernate() snapshots the VM's memory and disk state, then stops it. No compute costs while hibernated. wake() restores the sandbox — the platform attempts a fast snapshot-based resume and falls back to a cold boot from the saved disk state if needed.1234# Checkpoint, then fork two independent sandboxes oc checkpoint create sb-abc --name ready-state oc checkpoint spawn cp-xyz # → sandbox A oc checkpoint spawn cp-xyz # → sandbox B
123456// On-demand image (built + cached by content hash) const image = Image.base().aptInstall(['curl']).pipInstall(['pandas']); const sandbox = await Sandbox.create({ image }); // Pre-built snapshot (instant boot) const sandbox = await Sandbox.create({ snapshot: 'my-custom-stack' });
http://169.254.169.254/v1/scale) accessible from inside the VM. CPU scales proportionally. This lets workloads request more resources before heavy tasks and release them after. See Elasticity for details.1oc preview create sb-abc --port 3000