

# Build environment compute modes and types
<a name="build-env-ref-compute-types"></a>

In CodeBuild, you can specify the compute and runtime environment image that CodeBuild uses to run your builds. *Compute* refers to the computing engine (the CPU, memory, and operating system) that is managed and maintained by CodeBuild. A *runtime environment image* is a container image that runs on top of your chosen compute platform, and includes extra tools that your build might need, such as the AWS CLI.

**Topics**
+ [About compute](#compute.types)
+ [About reserved capacity environment types](#environment-reserved-capacity.types)
+ [About on-demand environment types](#environment.types)

## About compute
<a name="compute.types"></a>

CodeBuild offers EC2 and AWS Lambda compute modes. EC2 offers optimized flexibility during your build and AWS Lambda offers optimized start-up speeds. AWS Lambda supports faster builds due to a lower start-up latency. AWS Lambda also automatically scales, so builds aren't waiting in queue to run. For more information, see [Run builds on AWS Lambda compute](lambda.md).

With the EC2 compute mode, you can run your builds with on-demand or reserved capacity fleets. For on-demand fleets, you can select pre-defined compute types such as`BUILD_GENERAL1_SMALL` or `BUILD_GENERAL1_LARGE`. For more information, see [About on-demand environment types](#environment.types). For reserved capacity fleets, you can select your compute configurations including vCPU, memory and disk space. After specifying the configurations, CodeBuild will choose a supported compute type that matches your requirements. For more information, see [About reserved capacity environment types](#environment-reserved-capacity.types).

## About reserved capacity environment types
<a name="environment-reserved-capacity.types"></a>

AWS CodeBuild provides Linux x86, Arm, GPU, Windows and macOS environment types for reserved capacity fleets. The following table shows the available machine type, memory, vCPUs, and disk space sorted by region:

------
#### [ US East (N. Virginia) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 48 | 96 GiB | 824 GB (SSD) | NVME | reserved.x86-64.48cpu.96gib.nvme | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 32 | 128 GiB | 885 GB (SSD) | NVME | reserved.gpu.32cpu.128gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| Linux GPU | 64 | 256 GiB | 1885 GB (SSD) | NVME | reserved.gpu.64cpu.256gib.nvme | 
| Linux GPU | 96 | 384 GiB | 3785 GB (SSD) | NVME | reserved.gpu.96cpu.384gib.nvme | 
| macOS | 8 | 24 GiB | 128 GB | GENERAL | reserved.arm.m2.8cpu.24gib | 
| macOS | 12 | 32 GiB | 256 GB | GENERAL | reserved.arm.m2.12cpu.32gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ US East (Ohio) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 48 | 96 GiB | 824 GB (SSD) | NVME | reserved.x86-64.48cpu.96gib.nvme | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 32 | 128 GiB | 885 GB (SSD) | NVME | reserved.gpu.32cpu.128gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| macOS | 8 | 24 GiB | 128 GB | GENERAL | reserved.arm.m2.8cpu.24gib | 
| macOS | 12 | 32 GiB | 256 GB | GENERAL | reserved.arm.m2.12cpu.32gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ US West (Oregon) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 48 | 96 GiB | 824 GB (SSD) | NVME | reserved.x86-64.48cpu.96gib.nvme | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 32 | 128 GiB | 885 GB (SSD) | NVME | reserved.gpu.32cpu.128gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| Linux GPU | 64 | 256 GiB | 1885 GB (SSD) | NVME | reserved.gpu.64cpu.256gib.nvme | 
| macOS | 8 | 24 GiB | 128 GB | GENERAL | reserved.arm.m2.8cpu.24gib | 
| macOS | 12 | 32 GiB | 256 GB | GENERAL | reserved.arm.m2.12cpu.32gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Asia Pacific (Tokyo) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Asia Pacific (Mumbai) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Asia Pacific (Singapore) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 48 | 96 GiB | 824 GB (SSD) | NVME | reserved.x86-64.48cpu.96gib.nvme | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Asia Pacific (Sydney) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| macOS | 8 | 24 GiB | 128 GB | GENERAL | reserved.arm.m2.8cpu.24gib | 
| macOS | 12 | 32 GiB | 256 GB | GENERAL | reserved.arm.m2.12cpu.32gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Europe (Frankfurt) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 32 | 128 GiB | 885 GB (SSD) | NVME | reserved.gpu.32cpu.128gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| macOS | 8 | 24 GiB | 128 GB | GENERAL | reserved.arm.m2.8cpu.24gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ Europe (Ireland) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM | 64 | 128 GiB | 824 GB | GENERAL | reserved.arm.64cpu.128gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Linux | 48 | 96 GiB | 824 GB (SSD) | NVME | reserved.x86-64.48cpu.96gib.nvme | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux GPU | 4 | 16 GiB | 235 GB (SSD) | NVME | reserved.gpu.4cpu.16gib.nvme | 
| Linux GPU | 8 | 32 GiB | 435 GB (SSD) | NVME | reserved.gpu.8cpu.32gib.nvme | 
| Linux GPU | 16 | 64 GiB | 585 GB (SSD) | NVME | reserved.gpu.16cpu.64gib.nvme | 
| Linux GPU | 32 | 128 GiB | 885 GB (SSD) | NVME | reserved.gpu.32cpu.128gib.nvme | 
| Linux GPU | 48 | 192 GiB | 3785 GB (SSD) | NVME | reserved.gpu.48cpu.192gib.nvme | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows | 96 | 192 GiB | 824 GB | GENERAL | reserved.x86-64.96cpu.192gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------
#### [ South America (São Paulo) ]


| Environment type | vCPUs | Memory | Disk space | Machine type | Compute instance type | 
| --- | --- | --- | --- | --- | --- | 
| ARM | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| ARM | 16 | 32 GiB | 256 GB | GENERAL | reserved.arm.16cpu.32gib | 
| ARM | 32 | 64 GiB | 256 GB | GENERAL | reserved.arm.32cpu.64gib | 
| ARM | 48 | 96 GiB | 512 GB | GENERAL | reserved.arm.48cpu.96gib | 
| ARM EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.arm.2cpu.4gib | 
| ARM EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.arm.4cpu.8gib | 
| ARM EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.arm.8cpu.16gib | 
| Linux | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Linux | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Linux | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Linux | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Linux | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Linux | 72 | 144 GiB | 824 GB (SSD) | NVME | reserved.x86-64.72cpu.144gib.nvme | 
| Linux EC2 | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Linux EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Linux EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 2 | 4 GiB | 64 GB | GENERAL | reserved.x86-64.2cpu.4gib | 
| Windows | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 
| Windows | 16 | 32 GiB | 256 GB | GENERAL | reserved.x86-64.16cpu.32gib | 
| Windows | 36 | 72 GiB | 256 GB | GENERAL | reserved.x86-64.36cpu.72gib | 
| Windows | 48 | 96 GiB | 512 GB | GENERAL | reserved.x86-64.48cpu.96gib | 
| Windows | 72 | 144 GiB | 824 GB | GENERAL | reserved.x86-64.72cpu.144gib | 
| Windows EC2 | 4 | 8 GiB | 128 GB | GENERAL | reserved.x86-64.4cpu.8gib | 
| Windows EC2 | 8 | 16 GiB | 128 GB | GENERAL | reserved.x86-64.8cpu.16gib | 

For more information on the pricing identifier, see [https://aws.amazon.com/codebuild/pricing/](https://aws.amazon.com/codebuild/pricing/).

------

To choose a compute type:
+ In the CodeBuild console, in the **Compute fleet configuration** page, choose one of the options from **vCPUs**, **Memory**, and **Disk**. For more information, see [Create a reserved capacity fleet](fleets.md#fleets.how-to).
+ For the AWS CLI, run the `create-fleet` or `update-fleet` command, specifying the value of `computeType` to `ATTRIBUTE_BASED_COMPUTE`. For more information, see [ create-fleet](https://docs.aws.amazon.com/cli/latest/reference/codebuild/create-fleet.html) or [ update-fleet](https://docs.aws.amazon.com/cli/latest/reference/codebuild/update-fleet.html).
+ For the AWS SDKs, call the equivalent of the `CreateFleet` or `UpdateFleet` operation for your target programming language, specifying the value of `computeType` to `ATTRIBUTE_BASED_COMPUTE`. For more information, see the [AWS SDKs and tools reference](sdk-ref.md).

**Note**  
For the AWS CLI and AWS SDKs, you can still use `computeType` inputs such as `BUILD_GENERAL1_SMALL`, to choose the compute types instead of `ATTRIBUTE_BASED_COMPUTE`. For more information, see [About on-demand environment types](#environment.types).

### Supported instance families
<a name="environment-reserved-capacity.instance-types"></a>

AWS CodeBuild supports the following instances for reserved capacity fleets.:
+ **General purpose:** M5 \$1 M5a \$1 M5ad \$1 M5d \$1 M5dn \$1 M5n \$1 M5zn \$1 M6a \$1 M6g \$1 M6gd \$1 M6i \$1 M6id \$1 M6idn \$1 M6in \$1 M7a \$1 M7g \$1 M7gd \$1 M7i \$1 M7i-flex \$1 M8g \$1 T3 \$1 T3a \$1 T4g
+ **Compute optimized:** C5 \$1 C5a \$1 C5ad \$1 C5d \$1 C5n \$1 C6a \$1 C6g \$1 C6gd \$1 C6gn \$1 C6i \$1 C6id \$1 C6in \$1 C7a \$1 C7g \$1 C7gd \$1 C7gn \$1 C7i \$1 C7i-flex \$1 C8g
+ **Memory optimized:** R5 \$1 R5a \$1 R5ad \$1 R5b \$1 R5d \$1 R5dn \$1 R5n \$1 R6a \$1 R6g \$1 R6gd \$1 R6i \$1 R6idn \$1 R6in \$1 R6id \$1 R7a \$1 R7g \$1 R7gd \$1 R7i \$1 R7iz \$1 R8g \$1 U-3tb1 \$1 U-6tb1 \$1 U-9tb1 \$1 U-12tb1 \$1 U-18tb1 \$1 U-24tb1 \$1 U7i-6tb \$1 U7i-8tb \$1 U7i-12tb \$1 U7in-16tb \$1 U7in-24tb \$1 U7in-32tb \$1 X1 \$1 X1e \$1 X2gd \$1 X2idn \$1 X2iedn \$1 X2iezn \$1 X8g \$1 z1d
+ **Storage optimized:** D3 \$1 D3en \$1 I3 \$1 I3en \$1 I4g \$1 I4i \$1 I7ie \$1 I8g \$1 Im4gn \$1 Is4gen
+ **Accelerated computing:** DL1 \$1 DL2q \$1 F1 \$1 F2 \$1 G4ad \$1 G4dn \$1 G5 \$1 G5g \$1 G6 \$1 G6e \$1 Gr6 \$1 Inf1 \$1 Inf2 \$1 P3 \$1 P3dn \$1 P4d \$1 P5 \$1 P5e \$1 P5en \$1 Trn1 \$1 Trn1n \$1 Trn2 \$1 VT1
+ **High-performance computing:** Hpc6a \$1 Hpc6id \$1 Hpc7a \$1 Hpc7g
+ **Previous generation:** A1

To create a reserved capacity fleet with a specific instance type:
+ In the CodeBuild console, in the **Compute fleet configuration** page, navigate to the **Capacity configuration** section. In **Compute selection mode**, select **Manual input** and in **Compute instance type** choose one of the instance types from the drop-down menu. For more information, see [Create a reserved capacity fleet](fleets.md#fleets.how-to).
+ For the AWS CLI, run the `create-fleet` or `update-fleet` command, specifying the value of `computeType` to `CUSTOM_INSTANCE_TYPE` and the `ComputeConfiguration` `instanceType` to the specified instance type. For more information, see [ create-fleet](https://docs.aws.amazon.com/cli/latest/reference/codebuild/create-fleet.html) or [ update-fleet](https://docs.aws.amazon.com/cli/latest/reference/codebuild/update-fleet.html).
+ For the AWS SDKs, call the equivalent of the `CreateFleet` or `UpdateFleet` operation for your target programming language, specifying the value of `computeType` to `CUSTOM_INSTANCE_TYPE` and the **ComputeConfiguration** `instanceType` to the specified instance type. For more information, see the [AWS SDKs and tools reference](sdk-ref.md).

## About on-demand environment types
<a name="environment.types"></a>

AWS CodeBuild provides build environments with the following available memory, vCPUs, and disk space for EC2 compute mode:


| Compute type | Environment computeType value | Environment type value | Memory | vCPUs | Disk space | 
| --- | --- | --- | --- | --- | --- | 
| ARM Small ¹ | BUILD\$1GENERAL1\$1SMALL |  `ARM_CONTAINER` `ARM_EC2`  | 4 GiB | 2 | 64 GB | 
| ARM Medium ¹ | BUILD\$1GENERAL1\$1MEDIUM |  `ARM_CONTAINER` `ARM_EC2`  | 8 GiB | 4 | 128 GB | 
| ARM Large ¹ | BUILD\$1GENERAL1\$1LARGE |  `ARM_CONTAINER` `ARM_EC2`  | 16 GiB | 8 | 128 GB | 
| ARM XLarge ¹ | BUILD\$1GENERAL1\$1XLARGE | ARM\$1CONTAINER | 64 GiB | 32 | 256 GB | 
| ARM 2XLarge ¹ | BUILD\$1GENERAL1\$12XLARGE | ARM\$1CONTAINER | 96 GiB | 48 | 824 GB | 
| Linux Small ¹ | BUILD\$1GENERAL1\$1SMALL |  `LINUX_CONTAINER` `LINUX_EC2`  | 4 GiB | 2 | 64 GB | 
| Linux Medium ¹ | BUILD\$1GENERAL1\$1MEDIUM |  `LINUX_CONTAINER` `LINUX_EC2`  | 8 GiB | 4 | 128 GB | 
| Linux Large ¹ | BUILD\$1GENERAL1\$1LARGE |  `LINUX_CONTAINER` `LINUX_EC2`  | 16 GiB | 8 | 128 GB | 
| Linux XLarge ¹ | BUILD\$1GENERAL1\$1XLARGE | LINUX\$1CONTAINER | 72 GiB | 36 | 256 GB | 
| Linux 2XLarge | BUILD\$1GENERAL1\$12XLARGE | LINUX\$1CONTAINER | 144 GiB | 72 | 824 GB (SSD) | 
| Linux GPU Small | BUILD\$1GENERAL1\$1SMALL | LINUX\$1GPU\$1CONTAINER | 16 GiB | 4 | 235 GB (SSD)  | 
| Linux GPU Large | BUILD\$1GENERAL1\$1LARGE | LINUX\$1GPU\$1CONTAINER | 255 GiB | 32 | 50 GB  | 
| Windows Medium ¹ | BUILD\$1GENERAL1\$1MEDIUM |  `WINDOWS_SERVER_2019_CONTAINER` `WINDOWS_SERVER_2022_CONTAINER` `WINDOWS_EC2`  | 8 GiB | 4 | 128 GB | 
| Windows Large ¹ | BUILD\$1GENERAL1\$1LARGE |  `WINDOWS_SERVER_2019_CONTAINER` `WINDOWS_SERVER_2022_CONTAINER` `WINDOWS_EC2`  | 16 GiB | 8 | 128 GB | 
| Windows XLarge ¹ | BUILD\$1GENERAL1\$1XLARGE |  `WINDOWS_SERVER_2022_CONTAINER`  | 72 GiB | 36 | 256 GB | 
| Windows 2XLarge ¹ | BUILD\$1GENERAL1\$12XLARGE |  `WINDOWS_SERVER_2022_CONTAINER`  | 144 GiB | 72 | 824 GB | 

¹ The latest version of this image type is cached. If you specify a more specific version, then CodeBuild provisions that version instead of the cached version. This can result in longer build times. For example, to benefit from caching, specify `aws/codebuild/amazonlinux-x86_64-standard:5.0` instead of a more granular version, such as `aws/codebuild/amazonlinux-x86_64-standard:5.0-1.0.0`. 

AWS CodeBuild provides build environments with the following available memory and disk space for AWS Lambda compute mode:


| Compute type | Environment computeType value | Environment type value | Memory | Disk space | 
| --- | --- | --- | --- | --- | 
| ARM Lambda 1GB | BUILD\$1LAMBDA\$11GB | ARM\$1LAMBDA\$1CONTAINER | 1 GiB | 10 GB | 
| ARM Lambda 2GB | BUILD\$1LAMBDA\$12GB | ARM\$1LAMBDA\$1CONTAINER | 2 GiB | 10 GB | 
| ARM Lambda 4GB | BUILD\$1LAMBDA\$14GB | ARM\$1LAMBDA\$1CONTAINER | 4 GiB | 10 GB | 
| ARM Lambda 8GB | BUILD\$1LAMBDA\$18GB | ARM\$1LAMBDA\$1CONTAINER | 8 GiB | 10 GB | 
| ARM Lambda 10GB | BUILD\$1LAMBDA\$110GB | ARM\$1LAMBDA\$1CONTAINER | 10 GiB | 10 GB | 
| Linux Lambda 1GB | BUILD\$1LAMBDA\$11GB | LINUX\$1LAMBDA\$1CONTAINER | 1 GiB | 10 GB | 
| Linux Lambda 2GB | BUILD\$1LAMBDA\$12GB | LINUX\$1LAMBDA\$1CONTAINER | 2 GiB | 10 GB | 
| Linux Lambda 4GB | BUILD\$1LAMBDA\$14GB | LINUX\$1LAMBDA\$1CONTAINER | 4 GiB | 10 GB | 
| Linux Lambda 8GB | BUILD\$1LAMBDA\$18GB | LINUX\$1LAMBDA\$1CONTAINER | 8 GiB | 10 GB | 
| Linux Lambda 10GB | BUILD\$1LAMBDA\$110GB | LINUX\$1LAMBDA\$1CONTAINER | 10 GiB | 10 GB | 

When using other environment types, it is recommended that you use a cached image to reduce build times.

The disk space listed for each build environment is available only in the directory specified by the `CODEBUILD_SRC_DIR` environment variable.

To choose a compute type:
+ In the CodeBuild console, in the **Create build project** wizard or **Edit Build Project** page, in **Environment** expand **Additional configuration**, and then choose one of the options from **Compute type**. For more information, see [Create a build project (console)](create-project.md#create-project-console) or [Change a build project's settings (console)](change-project.md#change-project-console).
+ For the AWS CLI, run the `create-project` or `update-project` command, specifying the `computeType` value of the `environment` object. For more information, see [Create a build project (AWS CLI)](create-project.md#create-project-cli) or [Change a build project's settings (AWS CLI)](change-project.md#change-project-cli).
+ For the AWS SDKs, call the equivalent of the `CreateProject` or `UpdateProject` operation for your target programming language, specifying the equivalent of `computeType` value of the `environment` object. For more information, see the [AWS SDKs and tools reference](sdk-ref.md).

Some environment and compute types have Region availability limitations: 
+ The compute type Linux GPU Small (`LINUX_GPU_CONTAINER`) is only available in these Regions:
  + US East (N. Virginia)
  + US West (Oregon)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
+ The compute type Linux GPU Large (`LINUX_GPU_CONTAINER`) is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (Oregon)
  + Asia Pacific (Seoul)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + China (Beijing)
  + China (Ningxia)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
+ The compute type `BUILD_GENERAL1_2XLARGE` is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (N. California)
  + US West (Oregon)
  + Asia Pacific (Hyderabad)
  + Asia Pacific (Hong Kong)
  + Asia Pacific (Jakarta)
  + Asia Pacific (Melbourne)
  + Asia Pacific (Mumbai)
  + Asia Pacific (Seoul)
  + Asia Pacific (Singapore)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + China (Beijing)
  + China (Ningxia)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
  + Europe (Paris)
  + Europe (Spain)
  + Europe (Stockholm)
  + Europe (Zurich)
  + Israel (Tel Aviv)
  + Middle East (Bahrain)
  + Middle East (UAE)
  + South America (São Paulo)
+ The environment type `ARM_CONTAINER` is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (N. California)
  + US West (Oregon)
  + Asia Pacific (Hong Kong)
  + Asia Pacific (Jakarta)
  + Asia Pacific (Hyderabad)
  + Asia Pacific (Mumbai)
  + Asia Pacific (Osaka)
  + Asia Pacific (Seoul)
  + Asia Pacific (Singapore)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + China (Beijing)
  + China (Ningxia)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
  + Europe (Milan)
  + Europe (Paris)
  + Europe (Spain)
  + Europe (Stockholm)
  + Israel (Tel Aviv)
  + Middle East (Bahrain)
  + Middle East (UAE)
  + South America (São Paulo)
+ The environment type `WINDOWS_SERVER_2022_CONTAINER` is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (Oregon)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + South America (São Paulo)
+ The environment type `LINUX_EC2` (`BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`) is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (N. California)
  + US West (Oregon)
  + Africa (Cape Town)
  + Asia Pacific (Hong Kong)
  + Asia Pacific (Jakarta)
  + Asia Pacific (Melbourne)
  + Europe (Zurich)
  + Asia Pacific (Hyderabad)
  + Asia Pacific (Mumbai)
  + Asia Pacific (Osaka)
  + Asia Pacific (Seoul)
  + Asia Pacific (Singapore)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + China (Beijing)
  + China (Ningxia)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
  + Europe (Milan)
  + Europe (Paris)
  + Europe (Spain)
  + Europe (Stockholm)
  + Israel (Tel Aviv)
  + Middle East (Bahrain)
  + Middle East (UAE)
  + South America (São Paulo)
  + AWS GovCloud (US-West)
  + AWS GovCloud (US-East)
+ The environment type `ARM_EC2` (`BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`) is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (N. California)
  + US West (Oregon)
  + Asia Pacific (Hong Kong)
  + Asia Pacific (Jakarta)
  + Europe (Zurich)
  + Asia Pacific (Hyderabad)
  + Asia Pacific (Mumbai)
  + Asia Pacific (Osaka)
  + Asia Pacific (Seoul)
  + Asia Pacific (Singapore)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Canada (Central)
  + China (Beijing)
  + China (Ningxia)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + Europe (London)
  + Europe (Milan)
  + Europe (Paris)
  + Europe (Spain)
  + Europe (Stockholm)
  + Israel (Tel Aviv)
  + Middle East (Bahrain)
  + South America (São Paulo)
  + AWS GovCloud (US-West)
  + AWS GovCloud (US-East)
+ The environment type `WINDOWS_EC2` (`BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`) is only available in these Regions:
  + US East (Ohio)
  + US East (N. Virginia)
  + US West (Oregon)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + South America (São Paulo)
+ The compute mode AWS Lambda (`ARM_LAMBDA_CONTAINER` and `LINUX_LAMBDA_CONTAINER`) is only available in these Regions:
  + US East (N. Virginia)
  + US East (Ohio)
  + US West (Oregon)
  + Asia Pacific (Mumbai)
  + Asia Pacific (Singapore)
  + Asia Pacific (Sydney)
  + Asia Pacific (Tokyo)
  + Europe (Frankfurt)
  + Europe (Ireland)
  + South America (São Paulo)
+ The compute mode `MAC_ARM` is only available in these Regions:
  + US East (N. Virginia)
  + US East (Ohio)
  + US West (Oregon)
  + Asia Pacific (Sydney)
  + Europe (Frankfurt)

For the compute type `BUILD_GENERAL1_2XLARGE`, Docker images up to 100 GB uncompressed are supported.

**Note**  
For custom build environment images, CodeBuild supports Docker images up to 50 GB uncompressed in Linux and Windows, regardless of the compute type. To check your build image's size, use Docker to run the `docker images REPOSITORY:TAG` command.

You can use Amazon EFS to access more space in your build container. For more information, see [Amazon Elastic File System sample for AWS CodeBuild](sample-efs.md). If you want to manipulate container disk space during a build, then the build must run in privileged mode.

**Note**  
By default, Docker daemon is enabled for non-VPC builds. If you would like to use Docker containers for VPC builds, see [Runtime Privilege and Linux Capabilities](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) on the Docker Docs website and enable privileged mode. Also, Windows does not support privileged mode.