Do I need to rewrite my E2B code?
Do I need to rewrite my E2B code?
No. Set
E2B_DOMAIN=compute.anonalabs.com and an Anona API key. See Migrate from E2B for the features that are not available yet.Is a sandbox a container?
Is a sandbox a container?
No. Each sandbox is a KVM microVM with its own kernel. See Security.
How long can a sandbox run?
How long can a sandbox run?
On paid plans, as long as you want: create it with
timeout=-1, and let it pause when idle. On the free plan, up to one hour. A paused sandbox costs no CPU or memory. See Lifecycle.What happens to running processes when I pause?
What happens to running processes when I pause?
They are frozen with the sandbox’s memory and carry on after resume.
Can a sandbox reach the internet?
Can a sandbox reach the internet?
On paid plans yes, by default; on the free plan no. Private networks and cloud metadata are always blocked. You can restrict each sandbox further. See Networking.
Can I run Docker inside a sandbox?
Can I run Docker inside a sandbox?
The
coding-agent template has the Docker CLI but no daemon. Running a Docker daemon in a sandbox is not supported yet.Can I bring my own image?
Can I bring my own image?
Yes: build one from a Dockerfile with
anona-compute template build, or with the E2B SDK’s Template.build. See Templates.Can I choose the CPU and memory?
Can I choose the CPU and memory?
Not per sandbox: a sandbox gets its template’s size. See Templates.
How is it billed?
How is it billed?
By active vCPU time, resident memory, snapshot storage and egress. During the preview nothing is charged. See Pricing.
Where does it run?
Where does it run?
AWS
us-east-1. See Regions and limits.