Template
Customize sandbox CPU & RAM
You can customize the CPU and RAM of your sandbox template via E2B CLI.
You 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 vCPUs and 2GB RAM.
Bash
Through Configuration File
You can also specify the vCPU and RAM specifications for the sandbox template in the e2b.toml
file in the same directory where you run the e2b template build
command.
Toml