Awesome
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:
- API server
- Daemon running inside instances (sandboxes)
- Service for managing instances (sandboxes)
- Service for building environments (templates)
The following diagram shows the architecture of the whole project: