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 and a worker template ID
- your deployment can reach E2B and E2B task sandboxes can reach Roomote
Configuration
Add E2B from Settings > Compute, or provide the values as deployment env vars:E2B_DOMAIN only for self-hosted or custom E2B clusters. The default E2B
domain is enough for standard hosted E2B.
Worker template expectations
The E2B template should contain the Roomote worker runtime: system packages, browser tooling, language tools, command helpers, and the worker bootstrap used to connect back to Roomote. Roomote can provision a template from the configured worker image in supported setup flows. For production, keep the worker image or template version pinned so task startup is predictable.Verify setup
- save
E2B_API_KEYandE2B_TEMPLATE_ID - select E2B as the default compute provider
- start a small task from an environment
- confirm the task starts, streams logs, and can run project commands
- verify preview links if the task starts a web app
Common issues
- E2B reports a missing template. Confirm
E2B_TEMPLATE_IDmatches a template available to the configured API key. - Tasks start with missing tools. Rebuild or refresh the worker template from the current Roomote worker image.
- Preview links fail. Confirm the deployment URL and preview proxy are reachable from hosted sandboxes.