Customize sandbox CPU & RAM

You can customize the CPU and RAM of your sandbox template via E2B CLI.

You'll need to create a sandbox template first.

During the build step, you can specify the CPU and RAM of your sandbox template.

The following command will create a sandbox template with 2 CPUs and 2GB of RAM.

Terminal
e2b template build -c "/root/.jupyter/start-up.sh" --cpu-count 2 --memory-mb 2048