Skip to main content
E2B is a hosted sandbox provider for running task sandboxes away from the Roomote server.

When to use E2B

Use E2B when:
  • task work should run outside the Roomote host
  • you want hosted sandboxes with snapshot support
  • you can provide an E2B API key
  • your deployment can reach E2B and E2B task sandboxes can reach Roomote

Configuration

Add E2B from Settings > Sandboxes with your API key, or provide the values as deployment env vars:
Optional values:
Use E2B_DOMAIN only for self-hosted or custom E2B clusters. The default E2B domain is enough for standard hosted E2B. Roomote’s provisioned E2B worker template includes Docker and Docker Compose, so environments can run Docker projects. Container builds share the task’s CPU and memory; use an appropriately sized sandbox for larger images or multi-service stacks. E2B template resources are fixed at build time, so Roomote’s template uses 8 GiB for every task.

Verify setup

  1. save E2B_API_KEY
  2. select E2B as the default sandbox provider
  3. start a small task from an environment
  4. confirm the task starts, streams logs, and can run project commands
  5. verify preview links if the task starts a web app

Common issues

  • Preview links fail. Confirm the deployment URL and preview proxy are reachable from hosted sandboxes.