SandboxesPreview
Isolated sandboxes to run code you did not write.
In preview: open it in the console to request access for your organization. Not charged while in preview.
At a glance
- Isolation
- gVisor, on hosts of your organization
- Size
- 0.5 to 4 vCPU, 256 MB to 4,096 MB of memory
- Lifetime
- 60 seconds to 24 hours
- Status
- Preview, on request
What it does
- Commands and files
- Run commands as an argument list or a shell line, and read, write and list files in the workspace.
- Network policy
- No network by default, an allow-list with a preset for package registries, or the open internet.
- Fork
- Copy a running sandbox, its memory and workspace included, into a new one.
- Warm pools
- Keep sandboxes started so a create that matches claims one at once.
Command line
Start a sandbox and run a command in it.
$ dcloud sandbox sandboxes create --runtime python3.12
$ dcloud sandbox sandboxes exec <sandbox> --command "python -V" Price
As of 19 November 2026
Per vCPU-hour and GiB-hour while a sandbox runs or a pool keeps one warm. While Sandboxes is in preview, nothing is charged.
| What | Price | Unit |
|---|---|---|
| Sandbox vCPU | €0.04* | per vCPU-hour |
| Sandbox memory | €0.012* | per GiB-hour |
* Preview products are not charged while in preview.
Documentation
Related: Functions, AI Models, Cloud shell.