Limits and Instance Types
The memory, vCPU, and disk space for Containers are set through instance types. You can use one of six predefined instance types or configure a custom instance type.
| Instance Type | vCPU | Memory | Disk |
|---|---|---|---|
| lite | 1/16 | 256 MiB | 2 GB |
| basic | 1/4 | 1 GiB | 4 GB |
| standard-1 | 1/2 | 4 GiB | 8 GB |
| standard-2 | 1 | 6 GiB | 12 GB |
| standard-3 | 2 | 8 GiB | 16 GB |
| standard-4 | 4 | 12 GiB | 20 GB |
These are specified using the instance_type property in your Worker's Wrangler configuration file.
In addition to the predefined instance types, you can configure custom instance types by specifying vcpu, memory_mib, and disk_mb values. See the Wrangler configuration documentation for configuration details.
Custom instance types have the following constraints:
| Resource | Limit |
|---|---|
| Minimum vCPU | 1 |
| Maximum vCPU | 4 |
| Maximum Memory | 12 GiB |
| Maximum Disk | 20 GB |
| Memory to vCPU ratio | Minimum 3 GiB memory per vCPU |
| Disk to Memory ratio | Maximum 2 GB disk per 1 GiB memory |
For workloads requiring less than 1 vCPU, use the predefined instance types such as lite or basic.
If you need larger instance sizes or higher account-level limits, contact your account team, file a support ticket, or fill out this form ↗.
The following limits currently apply:
| Feature | Workers Paid |
|---|---|
| Memory for all concurrent live Container instances | 6TiB |
| vCPU for all concurrent live Container instances | 1,500 |
| TB Disk for all concurrent live Container instances | 30TB |
| Image size | Same as instance disk space |
| Total image storage per account | 50 GB 1 |