Skip to Content

Developer sandbox

An isolated Debian VM with VS Code in the browser, a shell, coding agents and a persistent /workspace disk you can checkpoint and fork.

A developer sandbox is an isolated VM in your environment. It comes with VS Code in the browser, a shell, SSH, and the coding agents claude, codex and opencode. Its /workspace folder is on a persistent disk: you can snapshot it as a checkpoint and fork a new sandbox from any checkpoint.

Add a sandbox

In your project, click + Service and choose Developer sandbox (Isolated VM with a shell and checkpoints).

The Add to Dev menu with Developer sandbox
The Add to Dev menu with Developer sandbox

A sandbox card appears on the canvas as Ready to deploy. Nothing is created yet. Click the card to open the form.

The sandbox card on the canvas: Ready to deploy
The sandbox card on the canvas: Ready to deploy

Name it and choose a machine

New developer sandbox lists what's inside: git, Node, Python, Claude Code, Codex and OpenCode, plus VS Code in the browser, shell and SSH, and checkpoints and forks.

  • Name is optional. Leave it blank and StackBlaze generates one.
  • Machine sets the VM's vCPU, memory and /workspace disk:
MachinevCPUMemoryDisk
Small12 GiB10 GiB
Medium24 GiB20 GiB
Large48 GiB40 GiB
X-Large816 GiB80 GiB

You can change the machine later; the VM restarts.

New developer sandbox: Name docs-sandbox, Machine Small selected
New developer sandbox: Name docs-sandbox, Machine Small selected

Deploy

Click Deploy sandbox. A short suffix is added to the name, here docs-sandbox-726c. The sandbox shows Booting while the VM starts, then Running.

The sandbox sheet: Running, with its URL, password, machine, IDE connection and checkpoints
The sandbox sheet: Running, with its URL, password, machine, IDE connection and checkpoints

The sandbox sheet

Click the sandbox card to open its sheet (shown above, under Deploy). The buttons next to the status are, from left to right, Sleep, Open a shell, Checkpoint and Delete sandbox.

Open a shell

Open a shell opens a terminal in the VM as the agent user. claude, codex and opencode are on the PATH. Disconnect ends the session.

A shell in the sandbox: a file written to /workspace, and the node, python3 and git versions
A shell in the sandbox: a file written to /workspace, and the node, python3 and git versions

VS Code in the browser

The sandbox URL (<name>.<region>.stackblaze.app) serves VS Code in the browser, opened on /workspace.

  • Open in VS Code (the VS Code icon next to the URL) opens it in a new tab and signs you in.
  • Opening the URL directly asks for the sandbox's VS Code password. The eye button shows the password on the sheet, and the copy button copies it.
The sandbox URL opened directly: enter its VS Code password
The sandbox URL opened directly: enter its VS Code password
VS Code in the browser on /workspace, with hello.txt open
VS Code in the browser on /workspace, with hello.txt open

Connect from your IDE

VS Code and Cursor open /workspace in your desktop editor over Remote-SSH. The arrow shows the SSH setup: add the Host block to ~/.ssh/config, then open that host with Remote-SSH. You sign in with an SSH key on your account (the SSH key on your account link goes to your personal settings).

Connect from your IDE expanded: the Host block for ~/.ssh/config
Connect from your IDE expanded: the Host block for ~/.ssh/config

Checkpoints

Checkpoint snapshots /workspace as it is now. Running processes aren't captured. Give it an optional Label and click Create checkpoint.

Checkpoint: Label (optional), Create checkpoint
Checkpoint: Label (optional), Create checkpoint

The checkpoint is listed with its label and time. Fork becomes available once the checkpoint is ready.

Checkpoints 1: hello file, with Fork and Delete checkpoint
Checkpoints 1: hello file, with Fork and Delete checkpoint

Fork

Fork opens Fork from checkpoint: it "boots a new sandbox whose workspace is a copy of" the checkpoint, and "the source sandbox keeps running". New sandbox name is optional; click Fork. The fork appears as its own card, marked forked from the source.

Fork from checkpoint: New sandbox name (optional), Fork
Fork from checkpoint: New sandbox name (optional), Fork
The canvas with the source sandbox and its fork docs-fork
The canvas with the source sandbox and its fork docs-fork

Sleep and wake

Sleep scales the VM to zero; the disk stays. The sheet shows Sleeping and the time it went to sleep, and the shell, checkpoint and VS Code buttons are disabled. Wake boots the VM again.

A sleeping sandbox: Sleeping, asleep since…, with Wake
A sleeping sandbox: Sleeping, asleep since…, with Wake

Change the machine

Pick another size under Machine. Resize to …? explains what happens: the VM restarts with the new size, and open shells and running processes stop. The workspace disk is kept. It grows with a bigger machine and never shrinks. Click Resize to confirm.

Resize to Medium? 2 vCPU · 4 GiB · 20 GiB disk, with Cancel and Resize
Resize to Medium? 2 vCPU · 4 GiB · 20 GiB disk, with Cancel and Resize

Delete a checkpoint

The trash button on a checkpoint deletes it. After that you can't fork from it. This can't be undone.

Delete checkpoint? You won’t be able to fork from it.
Delete checkpoint? You won’t be able to fork from it.

Delete the sandbox

Delete sandbox stops the sandbox and deletes its workspace disk and checkpoints. This can't be undone.

Delete sandbox? Stops the sandbox and deletes its workspace disk and checkpoints.
Delete sandbox? Stops the sandbox and deletes its workspace disk and checkpoints.

Waiting for capacity

If the sandbox nodes are out of CPU or memory, a new, woken or forked sandbox shows Waiting for capacity. While it waits, the shell, checkpoint and VS Code buttons are disabled.

A sandbox waiting for capacity after a resize to Medium
A sandbox waiting for capacity after a resize to Medium

On this page