Skip to content
/ infra Public

Infrastructure for AI code interpreting that's powering E2B.

License

Notifications You must be signed in to change notification settings

e2b-dev/infra

Repository files navigation

E2B Infrastructure

E2B is an open-source infrastructure for AI code interpreting. In our main repository e2b-dev/e2b we are giving you SDKs and CLI to customize and manage environments and run your AI agents in the cloud.

This repository contains the infrastructure that powers the E2B platform.

Self-hosting

The infrastructure is deployed using Terraform and right now it is deployable on GCP only.

Setting the infrastructure up can be a little rough right now, but we plan to improve it in the future.

Project Structure

In this monorepo, there are several components written in Go and a Terraform configuration for the deployment.

The main components are:

  1. API server
  2. Daemon running inside instances (sandboxes)
  3. Service for managing instances (sandboxes)
  4. Service for building environments (templates)

The following diagram shows the architecture of the whole project: E2B infrastructure diagram