Build environment compute modes and types
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.
About compute
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.
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 asBUILD_GENERAL1_SMALL
or
BUILD_GENERAL1_LARGE
. For more information, see About on-demand 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.
About reserved capacity environment types
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/.
- 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/.
- 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/.
- 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/.
- 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/.
- 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/.
- 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/.
- 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/.
- 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/.
- 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/.
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.
-
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 or
update-fleet.
-
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.
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.
About on-demand environment types
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_GENERAL1_SMALL |
ARM_CONTAINER |
4 GiB |
2 |
64 GB |
ARM Medium ¹ |
BUILD_GENERAL1_MEDIUM |
ARM_CONTAINER |
8 GiB |
4 |
128 GB |
ARM Large ¹ |
BUILD_GENERAL1_LARGE |
ARM_CONTAINER |
16 GiB |
8 |
128 GB |
ARM XLarge ¹ |
BUILD_GENERAL1_XLARGE |
ARM_CONTAINER |
64 GiB |
32 |
256 GB |
ARM 2XLarge ¹ |
BUILD_GENERAL1_2XLARGE |
ARM_CONTAINER |
96 GiB |
48 |
824 GB |
Linux Small ¹ |
BUILD_GENERAL1_SMALL |
LINUX_CONTAINER |
4 GiB |
2 |
64 GB |
Linux Medium ¹ |
BUILD_GENERAL1_MEDIUM |
LINUX_CONTAINER |
8 GiB |
4 |
128 GB |
Linux Large ¹ |
BUILD_GENERAL1_LARGE |
LINUX_CONTAINER |
16 GiB |
8 |
128 GB |
Linux XLarge ¹ |
BUILD_GENERAL1_XLARGE |
LINUX_CONTAINER |
72 GiB |
36 |
256 GB |
Linux 2XLarge |
BUILD_GENERAL1_2XLARGE |
LINUX_CONTAINER |
144 GiB |
72 |
824 GB (SSD) |
Linux GPU Small |
BUILD_GENERAL1_SMALL |
LINUX_GPU_CONTAINER |
16 GiB |
4 |
235 GB (SSD) |
Linux GPU Large |
BUILD_GENERAL1_LARGE |
LINUX_GPU_CONTAINER |
255 GiB |
32 |
3785 GB (SSD) |
macOS Medium |
BUILD_GENERAL1_MEDIUM |
MAC_ARM |
24 GiB |
8 |
128 GB |
macOS Large |
BUILD_GENERAL1_LARGE |
MAC_ARM |
32 GiB |
12 |
256 GB |
Windows Medium ¹ |
BUILD_GENERAL1_MEDIUM |
WINDOWS_SERVER_2019_CONTAINER |
8 GiB |
4 |
128 GB |
Windows Large ¹ |
BUILD_GENERAL1_LARGE |
WINDOWS_SERVER_2019_CONTAINER |
16 GiB |
8 |
128 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_LAMBDA_1GB |
ARM_LAMBDA_CONTAINER |
1 GiB |
10 GB |
ARM Lambda 2GB |
BUILD_LAMBDA_2GB |
ARM_LAMBDA_CONTAINER |
2 GiB |
10 GB |
ARM Lambda 4GB |
BUILD_LAMBDA_4GB |
ARM_LAMBDA_CONTAINER |
4 GiB |
10 GB |
ARM Lambda 8GB |
BUILD_LAMBDA_8GB |
ARM_LAMBDA_CONTAINER |
8 GiB |
10 GB |
ARM Lambda 10GB |
BUILD_LAMBDA_10GB |
ARM_LAMBDA_CONTAINER |
10 GiB |
10 GB |
Linux Lambda 1GB |
BUILD_LAMBDA_1GB |
LINUX_LAMBDA_CONTAINER |
1 GiB |
10 GB |
Linux Lambda 2GB |
BUILD_LAMBDA_2GB |
LINUX_LAMBDA_CONTAINER |
2 GiB |
10 GB |
Linux Lambda 4GB |
BUILD_LAMBDA_4GB |
LINUX_LAMBDA_CONTAINER |
4 GiB |
10 GB |
Linux Lambda 8GB |
BUILD_LAMBDA_8GB |
LINUX_LAMBDA_CONTAINER |
8 GiB |
10 GB |
Linux Lambda 10GB |
BUILD_LAMBDA_10GB |
LINUX_LAMBDA_CONTAINER |
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) or
Change a build project's settings
(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) or Change a build project's settings (AWS 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.
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 (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Canada (Central)
-
China (Beijing)
-
China (Ningxia)
-
Europe (Frankfurt)
-
Europe (Ireland)
-
Europe (London)
-
The environment type ARM_CONTAINER
is only available in these
Regions:
-
The compute type BUILD_GENERAL1_2XLARGE
is only available in these
Regions:
-
The compute mode AWS Lambda (ARM_LAMBDA_CONTAINER
and LINUX_LAMBDA_CONTAINER
) is only available in these
Regions:
-
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.
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. If you want to manipulate
container disk space during a build, then the build must run in privileged mode.
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 on the Docker Docs website and enable privileged mode. Also, Windows does not support privileged mode.