Skip to main content
Every Workshop Cloud project runs inside a sandbox — an isolated cloud VM that provides a full Linux environment for your code. The sandbox is created automatically when you open a project and shuts down after a period of inactivity.

Resource Limits

Each sandbox is provisioned with the following resources:
ResourceGuaranteedMaximum (burst)
CPU0.5 cores4.0 cores
Memory1 GB16 GB
The sandbox starts with the guaranteed allocation and can burst up to the maximum when additional capacity is available. For most data apps, the guaranteed resources are sufficient — burst capacity helps with heavier operations like large data processing or dependency installation.

Timeouts

TimeoutDurationDescription
Max session2 hoursThe maximum lifetime of a sandbox. After 2 hours, the sandbox is automatically shut down. Re-opening the project creates a new sandbox.
Idle timeout10 minutesIf there’s no activity (no code execution, no terminal input, no preview interaction), the sandbox shuts down to conserve resources. It restarts automatically when you return.
Creation timeout30 secondsThe maximum time allowed for a new sandbox to initialize. If it takes longer, the creation attempt is retried.
Don’t worry about losing work when a sandbox times out. Your project files are persisted to a cloud volume and restored automatically when the sandbox restarts.

What’s Pre-installed

Sandboxes come with a Linux environment that includes:
  • Python with pip and uv for package management
  • Node.js and npm for JavaScript projects
  • Common system libraries for data processing, networking, and file handling
  • Git for version control operations
Workshop automatically installs additional dependencies as needed based on your project’s requirements.txt, pyproject.toml, or package.json files.

Network Access

Sandboxes have outbound internet access, which means your code can:
  • Call external APIs (REST, GraphQL, webhooks)
  • Connect to databases and data warehouses
  • Download packages and dependencies
  • Fetch data from public URLs
Inbound access is managed through Workshop’s tunnel infrastructure — your preview pane and published apps are routed through secure tunnels, not direct inbound connections.

Workspace Structure

Your project files live in the /workspace directory inside the sandbox. This is where Workshop reads and writes files when building your app. Files in this directory are persisted across sandbox restarts via a cloud volume. A separate /persistent volume is available for data that should survive across sessions, such as installed packages or cached files.

Limitations

Sandboxes run on CPU-only infrastructure. If your project requires GPU compute (machine learning training, heavy inference), consider using an external API or running that workload elsewhere.
The 2-hour maximum session means long-running processes (like overnight data pipelines) need a different deployment approach. For persistent workloads, use one-click publishing to deploy your app to always-on serverless infrastructure.
You cannot run Docker containers inside the sandbox. The sandbox itself is a container — nesting is not supported.
The sandbox has a finite amount of disk space. Very large datasets or dependency trees may exceed the available storage. If you hit disk limits, consider streaming data from external sources instead of storing it locally.

Workarounds for Common Scenarios

ScenarioWorkaround
Need more than 2 hours of runtimePublish your app — deployed apps have a separate, longer-lived runtime
Need to run a background processUse the sandbox terminal to start processes; they persist until the sandbox times out
Need to access a private network resourceUse a connector to securely bridge to your private database or API
Need persistent storage beyond sandbox lifetimePush your project to GitHub or download project files locally

Sandbox vs Published App Runtime

The sandbox and published apps run on different infrastructure:
AspectSandbox (development)Published app
PurposeInteractive development and testingProduction hosting for visitors
Session lifetime2 hours max, 10 min idle timeoutLong-lived, restarts automatically
Resources0.5-4 CPU, 1-16 GB RAMDedicated deployment resources
AccessOnly you (the builder)Anyone with the URL (public) or invited users (private)
File changesReal-time as Workshop buildsSnapshot at time of publish; update by republishing