mrkeyoor.com_
Fri 04 Sept 18:00 UTC
Self-Hostedevaluationupdated 04 Sept 2026

infra review

E2B Infra is the backend that creates isolated cloud computers where AI agents can run code. It combines an API, routing, Firecracker virtual machines, storage, databases, and Terraform so teams can operate an E2B-compatible sandbox service on their own cloud account.

trackingstars / 7d
Verdict

Our E2B fc-versions run installed 49 packages in 32 seconds, built in 20 seconds, and passed all 49 tests in 18 seconds. That clean result covers one release-tooling subproject inside a much larger cloud platform. Use E2B Infra when API compatibility and control of GCP-hosted sandboxes justify Nomad, Terraform, Firecracker, Cloudflare, and several data services; choose a narrower sandbox platform if your team does not already operate systems at that level.

We ran it

Lab card: what happened when we ran infraScreenshot of infra (e2b.dev/?utm_source=github&utm_medium=referral&utm_campaign=repo_website&utm_content=infra)
Install✓ · 32s49 packages · 52 MB
Build✓ · 20s
Tests✓ · 18s49 passed · 0 failed of 49 (pytest)
Known vulns0(pip-audit)
Repo2529 files~397,845 lines of source · 16.4 MB · 15 CI workflows · tests dir

Answers from our run

Does infra build from source?

Dependencies installed in 32 seconds (49 packages), and the build succeeded in 20 seconds. We cloned commit 8a3f69d into a clean Debian container with 3 CPUs and no project-specific setup.

Do infra's tests pass?

Yes: 49 of 49 passed when we ran the project's own test command (pytest). Some failures need services or credentials a bare container does not have.

Does infra have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use infra?

Azure users or teams deploying to an ordinary Linux server: the README marks both targets unsupported.

What are the alternatives to infra?

Daytona, Coder, Firecracker. Our E2B fc-versions run installed 49 packages in 32 seconds, built in 20 seconds, and passed all 49 tests in 18 seconds.

Setup2/5The tested tool is easy; the cloud stack has many hard prerequisites
Docs4/5Detailed GCP and AWS steps, with gaps around public Firecracker source
Community4/51,359 stars with issues and pull requests active in September 2026
Maturity4/5Active releases and production use, though AWS remains beta

Who it’s for

Platform teams building code-execution sandboxes for AI agents on GCP or AWS.
Organizations that need control over the API, virtual machines, networks, templates, and stored data.
E2B contributors working on the orchestrator, in-VM daemon, client proxy, or infrastructure code.
Operators already comfortable with Terraform, Nomad, Cloudflare, PostgreSQL, and cloud quotas.

Who it’s NOT for

Azure users or teams deploying to an ordinary Linux server: the README marks both targets unsupported.
AWS operators who require a fully supported path: the project labels AWS self-hosting beta.
Small teams looking for a one-machine sandbox service: the GCP guide asks for at least 24 CPUs, 2,500 GB of SSD quota, a Cloudflare domain, PostgreSQL, and several build tools.
Builders who require every runtime component to come from a public source checkout: the Firecracker build script needs a repository token and defaults to e2b-dev/e2b-firecracker, which the GitHub API returned as unavailable.
Workloads that depend on flock over mounted volumes without their own validation: open issue 3619 reports that this operation can hang until the sandbox is destroyed.

Setup reality

Our sandbox installed 49 Python packages in 32 seconds and used 52 MB. The build passed in 20 seconds. Pytest then passed all 49 tests in 18 seconds, and pip-audit reported 0 known vulnerabilities. This run covered firecracker/fc-versions, not a deployed E2B cloud.

Full self-hosting needs Packer, Terraform 1.7.5, Go, Docker with Buildx, npm, a Cloudflare account and domain, PostgreSQL, and either GCP or AWS credentials. Grafana and PostHog are optional. Secrets live in the chosen cloud's secret manager.

GCP is the supported path and AWS is beta; Azure and a general Linux host are unchecked. Firecracker needs Linux, nested virtualization or suitable instances, and privileged host networking. The guide also requires multiple Terraform applies, image uploads, database migration, and cluster preparation.

Four service layers turn Firecracker into an agent sandbox

E2B Infra is the control plane behind E2B's code-execution sandboxes. A request passes through the client proxy and API to an orchestrator, which manages Firecracker microVMs. Each guest runs envd, a daemon that handles processes and files. PostgreSQL stores primary data, Redis carries state, ClickHouse holds analytics, and object storage contains templates and builds. Terraform and Nomad place those pieces in a cloud account.

This is more than a wrapper around Firecracker. The measured checkout contained 2,529 files, roughly 397,845 lines of source, and occupied 16.4 MB. Go services implement the API, proxy, orchestrator, and guest daemon. The repository also includes infrastructure definitions, image builders, database migrations, generated protocols, observability plumbing, and Python release tooling. A team adopting it takes responsibility for a small cloud platform, including upgrades and failure recovery.

GCP self-hosting starts with 24 CPUs and 2,500 GB of SSD quota

The supported GCP guide asks for quota covering at least 24 CPUs and 2,500 GB of persistent SSD. It also requires Packer, Terraform 1.7.5, Go, Docker, Buildx, npm, a GCP project, Cloudflare, a managed domain, and an IPv4-compatible PostgreSQL connection. The workflow enables several Google APIs, builds and uploads images, copies public Firecracker artifacts, fills secret-manager entries, applies Terraform in stages, migrates the database, and seeds an initial user, team, and base template.

AWS follows a similar 11-step path and is labeled beta. Its documented default pools include 3 control servers, an API node, Firecracker clients, a template builder, and a ClickHouse node. The client and build instances need nested virtualization. Azure and a general Linux machine remain unchecked in the README. That cloud boundary should settle the first purchasing question: this is for an infrastructure team, not someone seeking a local Docker Compose file.

What happened when we ran it

Our sandbox installed the Python project under firecracker/fc-versions in 32 seconds. It added 49 packages and consumed 52 MB on disk. The build completed successfully in 20 seconds, then pytest passed 49 of 49 tests in 18 seconds. Pip-audit found 0 known vulnerabilities. We used commit 8a3f69d in a fresh unprivileged Debian container with 3 CPUs, 8 GB of RAM, Python 3.12, and no secrets.

That is a clean result with a narrow boundary. The subproject describes itself as tooling for building and releasing custom Firecracker versions, and its pytest configuration points at the scripts directory. Our run did not provision GCP or AWS, execute Terraform, start Nomad, create a microVM, test nested virtualization, or exercise the API and storage services. The repository's 15 CI workflow files and broader tests directory indicate other validation surfaces, but the supplied 49-test result applies only to the measured project path.

Firecracker source builds depend on a separate repository

The fc-versions build script takes a commit, version name, and either amd64 or arm64. It requires Linux and a FIRECRACKER_REPO_TOKEN, then clones a source repository, builds production and debugging binaries, and checks that the debugging feature is present. By default it targets e2b-dev/e2b-firecracker. The GitHub API returned Not Found for that repository with the credential used for this review.

Open issue 3612 asks whether prebuilt binaries are now the intended self-hosting path because the default source repository is not publicly accessible and the older e2b-dev/firecracker fork is archived. That issue was still open when checked. This does not stop the documented make copy-public-builds path, which copies published kernels and Firecracker versions into your bucket. It does block a clear public-source route for teams that insist on rebuilding the customized microVM runtime themselves.

Current issues expose the cost of operating the whole stack

Issue 3619 reports that flock() on an E2B mounted volume can block forever because the NFS path lacks locking support, while local disk locking works. The report says the stuck process cannot be killed and the sandbox must be destroyed. Issue 3615 describes an orchestrator taking 20 to 30 minutes to bind its gRPC port while it serially cleans thousands of leftover network namespaces after a drained node. Both reports concern self-hosted runtime behavior rather than the small Python project we tested.

These are specific failure modes in file locking and node recovery, not proof that every deployment has them. They show what the operator owns once workloads depend on microVMs, NFS, network namespaces, and a scheduler. The self-hosting guide points users to the Nomad interface and cloud secret manager for inspection. Teams should test volume semantics, readiness during restarts, template builds, and sandbox teardown against their own agent workloads before exposing the service.

Release 2026.29 is older than the September activity

GitHub listed 1,359 stars and 195 combined issues and pull requests when fetched. Release 2026.29 arrived on July 28, 2026, with sandbox forking, storage, template, networking, and envd changes. The repository was pushed on September 4, and recent issues and pull requests addressed mounted-volume locking, orchestrator startup, guest readiness, and network behavior. The newer activity matters more than the release date alone when judging maintenance.

E2B Infra is a credible base for organizations that want an E2B-compatible sandbox cloud and have the staff to run it. The 49 passing tests make its Firecracker release tool reassuring to change, while they say little about a production cluster. GCP has the clearest route. AWS adopters accept beta status, and Azure users need another project. The deciding cost is operational ownership: cloud quotas, image pipelines, secrets, state stores, privileged networking, and microVM failures all become your problem.

Alternatives

ProjectWhat it isPick it when
Daytona gh↗Infrastructure for running AI-generated code in isolated, elastic sandboxes.pick this instead when you want another sandbox control plane without adopting E2B's exact API and cloud layout.
Coder gh↗A platform for secure remote development environments used by people and agents.pick this instead when persistent developer workspaces matter more than short-lived code-interpreter sandboxes.
Firecracker gh↗The microVM runtime underneath E2B's sandbox isolation.pick this instead when you need the virtualization primitive and are prepared to build your own API, scheduling, storage, and networking.

What people are saying

  1. [github-trending] e2b-dev/infra
  2. [github-trending] Tencent/AI-Infra-Guard
  3. [hackernews] Nvidia dramatically reduces amount of OpenAI infra financing it may guarantee
  4. [github-trending] web-infra-dev/midscene

Sources

  1. E2B Infra repository
  2. E2B Infra README
  3. E2B self-hosting guide
  4. Firecracker version tooling README
  5. Issue 3612: public Firecracker source builds
  6. Issue 3619: flock on mounted volumes
  7. Issue 3615: delayed orchestrator startup
  8. E2B Infra release 2026.29

More self-hosted reviews

zot · consul · project-nomad · gpt-load · limusic · xbmc · the whole board →