E2B license

The e2b-dev/infra repository, which runs E2B Cloud, Enterprise and self-hosted installs, is Apache-2.0 licensed. Enterprise and BYOC are commercial offerings, so their terms come from E2B's agreement and must be confirmed in writing.

On this page

E2B license: what Apache-2.0 covers for a self-hosted install

The e2b-dev/infra repository, which is the runtime behind E2B Cloud, Enterprise and self-hosted installs, is licensed under Apache-2.0 according to its LICENSE file. The appendix reads Copyright 2023 FoundryLabs, Inc., so that is the notice your legal team will look for. The license covers the code in that repository, so it is the starting point for your review, and the commercial documents are the second check. Embed is the open-source self-hosted route: it runs the full stack on one Linux x86-64 host with KVM, so Apache-2.0 governs the code in that install. Enterprise and BYOC are commercial offerings governed by E2B's agreement with you.

Four groups need this answer before anyone approves a self-hosted install. Engineering owners need to confirm which components they will run: the API, the orchestrator on each sandbox node, the client proxy and envd inside each VM, backed by PostgreSQL, Redis, ClickHouse and object storage. Security needs the same component list to review the Firecracker isolation model and the code they will operate. Procurement needs a written answer on which E2B charges, if any, apply to a self-hosted Embed install, and which apply only to Cloud or Enterprise usage. Legal needs the Apache-2.0 text, the copyright notice and any E2B agreement attached to Enterprise or BYOC discussions.

Before the approval document is drafted, record the exact release you will deploy. The releases page names tags by year and sequence number, such as 2026.30, so pin one tag and keep the commit it points to in your change record. Ask E2B in writing whether any terms beyond the repository LICENSE apply to a self-hosted Embed install, and whether a later move to Enterprise or BYOC would change the rights you rely on. Keep the Apache-2.0 notice and the copyright line in your third-party software inventory, and set a review date, because a new release may change the components or dependencies you approved.

E2B license terms by edition: Embed, Enterprise and BYOC side by side

This table compares the E2B editions on the terms that govern each one, what each includes and limits, and whether a price is published. The Apache-2.0 license covers the infrastructure code, while Enterprise and BYOC are commercial arrangements priced through a written quote. The main takeaway is that the only published price is the Pro SSO add-on, so confirm Enterprise or BYOC costs in writing before you plan a budget.

EditionGoverning termsIncludes and limitsPublished price
Embed (self-hosted)Apache-2.0 license on the e2b-dev/infra repositoryFull stack on one Linux x86-64 host with KVM, installed with Docker Compose, Terraform or a Kubernetes manifest. One machine by design.No price published. Confirm any E2B fee or terms in writing.
EnterpriseCommercial dedicated deployment agreed with E2BDedicated deployment in your cloud account, with SSO (OIDC) and SCIM included. RBAC is planned with no timeline.Not published. Comes from a written quote.
BYOCEnterprise plan only, provisioned and monitored by E2BCluster in your AWS, GCP or Azure account. Traffic, template sources and logs stay in your VPC; only anonymized metrics reach E2B.Not published. Comes from a written quote.
E2B CloudE2B's hosted plan terms. Confirm the current version before buying.Operated on Google Cloud in US, EU and APAC regions; US West on AWS listed in the security FAQ.Pro SSO add-on: $300 per month per workspace (E2B pricing page, December 2026).

What the E2B license lets you run free, and what you still pay for

The Apache-2.0 license covers the e2b-dev/infra code you would run yourself, but it does not price the machines, staff or contracts around that code. The five cards below separate the license grant from each cost area, and each one is marked as one-time or recurring, with the party you pay.

Apache-2.0 grant for the infrastructure code

The e2b-dev/infra repository is licensed under Apache-2.0, which covers the runtime behind E2B Cloud, Enterprise and self-hosted installs. The LICENSE appendix carries a 2023 copyright notice from FoundryLabs, Inc. The license itself charges no fee, but ask E2B to confirm in writing whether any separate fee applies to Embed use before you plan a deployment. This check is a one-time task for your legal or procurement team.

Apache-2.0 LICENSE

Hosts and data stores

Embed runs the full stack on one Linux x86-64 host with KVM, so you provide that machine and size it for your sandbox load. The stack also needs PostgreSQL, Redis, ClickHouse and object storage for templates and snapshots, as the infra README describes. Provisioning is one-time work, while the compute, storage and backup capacity you pay your cloud or data center for recurs every billing period. Ask what each service needs in sizing before you commit.

Infra repository

Staff time to run it

Installing, operating, backing up and upgrading the stack is labor your team carries, whether you employ it internally or buy it from a partner. Installation is one-time, while operations, backups, restore tests and upgrades recur for as long as the stack runs. Ask any partner for a quote that separates these items, names on-call coverage and states who is accountable for restores. Size the recurring share from your platform team's current capacity and the restore testing your policies require.

Upgrades along release tags

The e2b-dev/infra releases page names tags by year and sequence number, such as 2026.30. Each upgrade is recurring work: you choose when to move, test the new tag against your templates and snapshots, then roll it across your hosts. Read the release notes for every tag you skip, because a longer gap usually means more change to absorb in one window. You pay for the test environment and the hours, whichever team performs the work.

Releases page

Commercial contract for Enterprise or BYOC

Enterprise and BYOC are commercial offerings, separate from the open-source runtime. BYOC is an Enterprise-only deployment where E2B provisions and monitors a cluster in your AWS account, GCP project or Azure subscription. This is a recurring fee paid to E2B under a written contract, and you still pay your cloud provider for the compute. Request a quote tied to a written scope that states what SSO, SCIM, support and monitoring cover.

Enterprise page

Where does the license boundary sit across Embed, Enterprise and BYOC?

The left side of the diagram is the Apache-2.0 Embed path, where the API, orchestrator, client proxy and data stores run on one KVM-capable Linux host. The API creates sandboxes on the orchestrator, which runs each Firecracker VM with envd inside it, and the proxy routes sandbox URLs to envd. The right side is the commercial BYOC boundary. E2B provisions and monitors the cluster in your AWS, GCP or Azure account, and only anonymized system metrics such as CPU and memory reach E2B Cloud. Before you plan, confirm which side each component falls on and which agreement covers the cluster you run.

The repository license governs the repository code; commercial terms come from the agreement.

Which E2B edition fits a small internal team, a regulated buyer or an air-gapped site

If a small team wants E2B on its own infrastructure, the open-source route is Embed. The e2b-dev/infra repository is licensed under Apache-2.0, and its README describes Embed as the open-source way to run the stack on a single machine. Your team then carries installation, upgrades, backups and incident response.

  • One machine by design: Embed runs the full stack on one Linux x86-64 host with KVM, so it offers no built-in multi-node capacity.
  • Install paths: The repository supports Docker Compose, Terraform for GCP, AWS and Azure, and a Kubernetes manifest, so choose the path your team can operate.
  • Data services you run: The stack depends on PostgreSQL, Redis, ClickHouse and object storage for templates and snapshots, and each one needs its own backup and restore plan.
  • License duties: Apache-2.0 permits use, but any redistribution must keep the license text and copyright notices, so have counsel review internal distribution.
  • Support boundary: The license does not promise support. Confirm with E2B what help, if any, applies to a self-hosted Embed install.

Before committing, ask E2B: which release tag you should pin, what upgrade path it publishes for Embed, and whether any support is available to a single-host installation.

What drives E2B total cost of ownership beyond the license

This table lists the cost drivers that sit outside the Apache-2.0 license, showing who pays for each, whether it is one-time or recurring, and what moves it. Read each row as a line item to scope with your own team, a partner or E2B. The main takeaway is that the license sets no fee of its own, so hosting, storage, staff time and any paid E2B plan or add-on are the costs to scope first.

Cost driverWho paysOne-time or recurringWhat moves it up or down
Host and cloud account capacityYour organization, to your cloud provider or data centerRecurringSizing follows concurrent sandboxes. Sandboxes run 1 to 8 vCPUs and 1 to 8 GiB RAM (E2B pricing page, December 2026). Confirm GPU needs early, since E2B lists no GPU sandboxes on that page.
Data stores and object storageYour organization, to your cloud provider or data centerRecurring, plus initial setupTemplate and snapshot volume, PostgreSQL, Redis and ClickHouse sizing, and backup retention. Storage grows as templates and snapshots accumulate.
Staff time for install, upgrades and on-callYour organization, through internal staff or a partner under written scopeOne-time for install, recurring for upgrades and on-callNumber of services you run, how often you adopt new release tags, and on-call coverage hours. Track the infra releases page for tag changes.
SSO on ProYour organization, if you buy Pro with SSORecurringChoosing Pro with SSO adds $300 per month per workspace (E2B pricing page, December 2026). Enterprise includes SSO and SCIM.
Enterprise or BYOC subscriptionYour organization, quoted by E2B from written scopeRecurringPrice is not published on the E2B Enterprise page. Scope drives the quote, including cloud accounts, regions, support and deployment model.
Support termsSet by your agreement with E2B, plus your own team for first-line operationsRecurringConfirm response times, coverage hours and escalation paths with E2B before you commit. Self-hosted teams carry day-to-day operations themselves.
Exit or migration effortYour organization, plus any partner you engageOne-timeTemplate rebuilds, data export from PostgreSQL and object storage, and changes to client code that calls the SDK. Grows with the number of templates and integrations.

What the Apache-2.0 license and E2B agreements require of you

The infrastructure repository is licensed under Apache-2.0, which sets the terms for redistributing and modifying it. The license is only part of the picture: it grants no trademark rights, gives no warranty or indemnity, and a commercial Enterprise or BYOC agreement can add obligations of its own. The cards below set out what to check in each area.

Keep the license and notices

Apache-2.0 expects anyone who redistributes the code, in source or compiled form, to pass along a copy of the license and keep existing copyright notices intact. The repository's LICENSE appendix reads 'Copyright 2023 FoundryLabs, Inc.', so that notice must survive in any fork, container image or internal package you publish. Make sure the LICENSE file and copyright line ship with every artifact, and review anything you rebrand or repackage before it leaves your organization.

Read the LICENSE file

Mark the changes you make

If you modify E2B's code and distribute the modified version, Apache-2.0 expects you to make your changes visible. In practice, mark each changed file with a note that you altered it, and keep that record in version control. This matters most when you change the API, orchestrator or client proxy, for example to adjust quotas or placement in your environment (illustrative). Keep the notes with each release so a reviewer can see exactly what differs from the upstream release tag.

No trademark rights granted

Apache-2.0 covers the code, not the brand. The license does not grant trademark rights, so it gives you no permission to use the E2B or FoundryLabs names and logos for your product, service or marketing. Naming a hosted offering after E2B, or presenting your platform as an E2B product, needs written permission from the owner. Ask E2B to confirm its position in writing before you publish any name that includes its marks, and have counsel review the wording.

No warranty or indemnity

Apache-2.0 disclaims warranties and limits liability, and it does not promise indemnity against third-party claims. The open-source license therefore gives you no assurance that the software fits your use or is free of infringement claims. If your risk team needs any of these, the commitment must appear in a signed agreement with E2B. Read the terms that apply to your plan, and ask whether any warranty, indemnity or uptime commitment covers the self-hosted code you operate.

E2B Enterprise page

Enterprise and BYOC add terms

Enterprise and BYOC are commercial arrangements, so the contract can add obligations on top of the license, such as data terms or audit rights. Confirm every obligation in writing before you sign, because this page does not describe those terms. For BYOC, the BYOC docs say sandbox traffic, template build sources and logs go directly to your VPC, while only anonymized system metrics such as CPU and memory reach E2B Cloud. Check that statement against the contract you receive.

BYOC docs

What to collect before the E2B license goes to approval

This sequence gives the approver a written record of which license covers the code you will run, which E2B edition each part of the plan uses, and how data, support and exit rights are handled. Each step names an owner and closes with a document or check that goes into the approval file. Have counsel review the final package before it is submitted.

  1. Record the release tag and LICENSE

    The platform engineering lead opens the releases page for e2b-dev/infra and records the exact tag the deployment will run. Tags follow a year and sequence pattern, for example 2026.30, so copy the full string exactly. They then download the LICENSE file at that tag and confirm it is Apache-2.0 with the appendix line 'Copyright 2023 FoundryLabs, Inc.' Done when the saved LICENSE file and the tag are both attached to the approval record and the tag matches the version in the deployment plan.

  2. Confirm the edition for each part

    The solution architect writes down which part of the plan uses Embed, Enterprise or BYOC, with one line per environment. Embed is the self-hosted option, runs the full stack on one Linux x86-64 host with KVM, and is one machine by design. Enterprise is a commercial dedicated deployment inside your own cloud account, and BYOC is an Enterprise-only deployment that E2B provisions and monitors in your AWS account, GCP project or Azure subscription. A test host and a production cluster may sit under different editions, so list each one separately. Done when every environment has one named edition in the approval record and the budget owner has initialed it.

  3. Get a written component license statement

    The legal lead sends E2B a written question: does any component in your deployment sit outside the license of the e2b-dev/infra repository? List everything you plan to run, including the API, orchestrator, client proxy, envd, installer code, Terraform modules, machine images, manifests and any BYOC management component. Ask E2B to name each component that is licensed or governed differently and to cite the license or contract that applies. Done when the reply is on file, covers every item on your list, and counsel has signed off on each exception.

  4. Check data flow against your policy

    The privacy lead traces where data goes for each edition. In BYOC, sandbox traffic, template build sources and logs stay in your VPC, and only anonymized system metrics such as CPU and memory go to E2B Cloud. Compare that flow with your data classification, retention and transfer rules, and record any metric or log field your policy would block from leaving the network. The BYOC boundary does not automatically describe other editions, so ask E2B to document telemetry for Embed and Enterprise. Done when the flow diagram and the comparison are signed by the privacy lead and every exception has a decision.

  5. Obtain written support and upgrade terms

    The procurement lead asks E2B for support scope, response expectations and upgrade obligations in writing, for each edition in the plan. Ask which release tags are covered, how upgrades between tags reach a self-hosted install, and who applies them. Also ask which SOC 2 Type II controls E2B covers in its own software and control plane, and which controls your team must run in the cloud account you deploy into, since E2B's report covers only the former. Done when the terms sit in a signed order form or addendum and the platform lead confirms the upgrade steps fit your operating model.

  6. Document the exit path and copies

    The platform engineering lead writes the exit runbook and lists the copies your organization controls. Include the templates, the snapshots, the PostgreSQL database backups and the object storage that holds templates and snapshots, with the location and owner of each item. Confirm which items you can export without E2B's help and in what format, and note any step that depends on E2B. Done when the runbook is attached to the approval record, each copy has a named owner, and the data owner has accepted the list.

What catches buyers out on E2B licensing

Most E2B licensing surprises come from assuming one license covers every edition. The Apache-2.0 repository, the paid plans, Embed and BYOC each carry different limits. Each card pairs one trap with the check that prevents it.

Repository license covers code only

The e2b-dev/infra repository is licensed under Apache-2.0, and its LICENSE file carries the copyright line 'Copyright 2023 FoundryLabs, Inc.' That license lets you use, modify and distribute the infrastructure code you self-host. It does not set the terms for E2B Cloud, a managed Enterprise service or a BYOC deployment, which fall under the commercial terms you agree with E2B. Read the service terms in your contract before you assume the Apache grant covers support, uptime or pricing. Use the LICENSE file for the code and the contract for everything E2B operates.

Apache-2.0 LICENSE file

Embed is one machine

E2B Embed runs the full stack on one Linux x86-64 host with KVM, installed with Docker Compose, Terraform or a Kubernetes manifest. The design is one machine, so a larger sandbox fleet points you toward the commercial Enterprise deployment, which the repository README describes as a dedicated deployment in your own cloud account. Size your expected concurrent sandboxes against one host before you commit to Embed, and ask E2B in writing which deployment covers the growth in your plan.

SSO and SCIM depend on plan

OIDC single sign-on is a paid add-on on the Pro plan at $300 per month per workspace, according to E2B's December 2026 pricing page. SSO and SCIM are included on the Enterprise plan, and SCIM is available only there. Confirm which plan includes SCIM before you budget identity work, and multiply the add-on across every Pro workspace that needs SSO if you stay on Pro.

E2B pricing page

RBAC is listed as planned

E2B lists role-based access control as planned, and no timeline is published. Teams that need permissions split by role will have to design around the controls available today. Ask E2B to confirm in writing which access controls the plan includes now and whether RBAC is scheduled. Record the gap in your access review so the risk owner signs off on it before go-live. Without a date, treat RBAC as absent from your planning.

Air-gapped option is in development

The E2B Enterprise page lists a private cloud option for air-gapped and on-prem environments as in development, as of December 2026. A rollout planned around that option has no delivered deployment path to build against yet. Get the availability status in writing before you schedule an isolated network build, and ask which install paths E2B supports today for networks without outside access.

E2B Enterprise page

Release tags need recording

The e2b-dev/infra releases page names tags by year and sequence number, such as 2026.30, so a tag shows the order of release but not the changes a host actually runs. A host can run a tag that differs from what your change record shows if nobody captures it. Record the exact running tag on every host running the stack at install and at each upgrade, and file the matching release notes and LICENSE file with your audit evidence.

E2B infra releases

Questions procurement, legal and security ask before approving E2B

Can we run the e2b-dev infra repository internally under Apache-2.0 at no license fee?

Yes, for the infrastructure repository itself. The e2b-dev/infra repository is licensed under Apache-2.0 according to its LICENSE file, and that file carries the notice 'Copyright 2023 FoundryLabs, Inc.' Running the code inside your own organization does not create a license fee for the code. Your spending sits around it: KVM-capable Linux hosts, your cloud account or data center, PostgreSQL, Redis, ClickHouse and object storage, plus the staff who operate them. Ask legal to confirm three points before approval: that the Apache-2.0 notice and attribution duties are met in your internal builds, that your internal modifications are tracked the way your policy requires, and that the Enterprise and BYOC terms, which are separate commercial agreements, do not apply to the self-hosted build you run.

Can we offer E2B sandboxes to our own customers as part of our product?

The repository license is not the only document to check, so have counsel confirm it before you design around it. Apache-2.0 is a permissive license that is generally used in commercial products, but the full text, the NOTICE file and any trademark rules for the E2B name still need a legal read. Offering sandboxes to paying customers also makes you the operator of a multi-tenant service. You would own tenant isolation, quotas, abuse handling, data processing terms and the security review that each customer runs against your product. Sandboxes run as Firecracker microVMs with their own kernel, which supports isolation, but your tenancy design, network policy and logging still need their own testing. E2B Cloud service terms and Enterprise terms are separate from the repository license, so do not assume they grant resale or hosting rights.

Do we need Enterprise or BYOC to get SSO and SCIM?

On E2B Cloud, SSO with OIDC and SCIM are included on the Enterprise plan. E2B's pricing page as of December 2026 lists SSO on Pro as a $300 per month per workspace add-on, so price that line item if you stay on Pro. Confirm with E2B in writing whether SCIM is available on any plan below Enterprise, because the pricing detail does not settle it. Role-based access control is listed as planned with no timeline, so do not count on it for your access model. On a self-hosted install, identity is wired by your team. The public material does not describe how the open-source runtime handles SSO or SCIM, so ask E2B to show the supported configuration in the repository before you assume it is available in Embed.

What does BYOC send to E2B Cloud from our environment?

Only anonymized system metrics, such as CPU and memory, leave your environment for E2B Cloud, according to the E2B BYOC docs. Sandbox traffic, template build sources and logs go directly to your VPC. This is a narrower data path than a hosted SaaS, but it is still a data flow that your privacy and security reviewers will ask about. Request the exact metric list, the anonymization method and the retention period in writing. BYOC also means E2B provisions and monitors the cluster in your AWS account, GCP project or Azure subscription using Terraform and machine images. Ask who holds administrative access to that account, how that access is logged, and which of your approvals E2B needs before it changes the cluster.

Who carries upgrades and on-call if we self-host the infrastructure?

Under a self-hosted install, your team carries upgrades and on-call unless you buy a retainer or a managed deployment. Plan for these parts:

  • Upgrades: releases are tagged by year and sequence, such as 2026.30 on the releases page. You choose when to move, and you test each release before it reaches sandboxes that customers or developers depend on.
  • Data stores: PostgreSQL, Redis, ClickHouse and object storage need patching, backups and capacity checks.
  • Sandbox nodes: these are hosts, so kernel, KVM and hardware faults land on your operations team.
  • On-call: decide who is paged, the response expectations and the escalation path before go-live. Ask any vendor you engage to write these down in the scope.
How long does a self-hosted E2B install take?

No install duration is published for self-hosting, so build your plan from your own environment rather than from a vendor number. The main drivers are the layout you choose. Embed runs the full stack on one Linux x86-64 host with KVM, installed with Docker Compose, Terraform for GCP, AWS or Azure, or a Kubernetes manifest, and it is one machine by design. A multi-host layout adds sizing, networking and node work. Other drivers include whether your cloud account, networking, DNS and TLS already exist, how quickly your team sets up PostgreSQL, Redis, ClickHouse and object storage, and how familiar your engineers are with Firecracker, KVM and Terraform. Ask E2B and any implementation partner for a written prerequisite list and a plan with named milestones before you commit a date.

What can our own team do without outside help?

A team with Linux, KVM, Docker Compose or Kubernetes, and experience with PostgreSQL, Redis, ClickHouse and object storage can handle much of the work in-house. Your engineers can run a single-host Embed trial on a KVM-capable x86-64 Linux host, read the repository and release notes, apply upgrades by release tag, run and test backups, and write runbooks. Outside help is more useful for multi-node sizing, tenant isolation and network design, security testing of your deployment, and packaging evidence for compliance reviews. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with the scope and timeline agreed in writing before work starts, and ongoing support is available as a retainer.

How DeployOpen deploys and supports E2B in your infrastructure

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For E2B license, the work starts by separating the Apache-2.0 infrastructure repository from the commercial Enterprise and BYOC offerings, so the written scope matches the deployment path you choose. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • Confirm with your legal team how Apache-2.0 terms apply to your internal use and planned changes.
  • Choose between the single-machine Embed runtime and an Enterprise BYOC cluster, because they are separate deployment paths.
  • Written scope names your cloud or hosts, data stores, sizing inputs and the release tag you will pin.

How we build

  • Install the API, orchestrator and client proxy on KVM-capable Linux x86-64 hosts that you control.
  • Provision PostgreSQL, Redis, ClickHouse and object storage inside your network, with backups defined from the start.
  • Install with Docker Compose, Terraform for GCP, AWS or Azure, or the Kubernetes manifest, as agreed in scope.

How we hand over

  • Runbooks for install, pinned upgrades, rollback and day-to-day operation of the stack.
  • Configuration and secrets inventory showing where sandbox traffic, templates, snapshots and logs are stored.
  • Architecture diagrams, access settings and test results packaged for your security and compliance reviewers.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Track new release tags from the E2B releases page and plan each upgrade in a window your team approves.
  • Keep E2B's SOC 2 Type II report scope apart from controls in your cloud account, which you operate.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.