Build environment compute modes and types - AWS CodeBuild

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 typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux4896 GiB824 GB (SSD)NVMEreserved.x86-64.48cpu.96gib.nvme
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU32128 GiB885 GB (SSD)NVMEreserved.gpu.32cpu.128gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
Linux GPU64256 GiB1885 GB (SSD)NVMEreserved.gpu.64cpu.256gib.nvme
Linux GPU96384 GiB3785 GB (SSD)NVMEreserved.gpu.96cpu.384gib.nvme
macOS824 GiB128 GBGENERALreserved.arm.m2.8cpu.24gib
macOS1232 GiB256 GBGENERALreserved.arm.m2.12cpu.32gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

US East (Ohio)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux4896 GiB824 GB (SSD)NVMEreserved.x86-64.48cpu.96gib.nvme
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU32128 GiB885 GB (SSD)NVMEreserved.gpu.32cpu.128gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
macOS824 GiB128 GBGENERALreserved.arm.m2.8cpu.24gib
macOS1232 GiB256 GBGENERALreserved.arm.m2.12cpu.32gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

US West (Oregon)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux4896 GiB824 GB (SSD)NVMEreserved.x86-64.48cpu.96gib.nvme
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU32128 GiB885 GB (SSD)NVMEreserved.gpu.32cpu.128gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
Linux GPU64256 GiB1885 GB (SSD)NVMEreserved.gpu.64cpu.256gib.nvme
macOS824 GiB128 GBGENERALreserved.arm.m2.8cpu.24gib
macOS1232 GiB256 GBGENERALreserved.arm.m2.12cpu.32gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Asia Pacific (Tokyo)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Asia Pacific (Mumbai)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Asia Pacific (Singapore)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux4896 GiB824 GB (SSD)NVMEreserved.x86-64.48cpu.96gib.nvme
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Asia Pacific (Sydney)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
macOS824 GiB128 GBGENERALreserved.arm.m2.8cpu.24gib
macOS1232 GiB256 GBGENERALreserved.arm.m2.12cpu.32gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Europe (Frankfurt)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU32128 GiB885 GB (SSD)NVMEreserved.gpu.32cpu.128gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
macOS824 GiB128 GBGENERALreserved.arm.m2.8cpu.24gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

Europe (Ireland)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM64128 GiB824 GBGENERALreserved.arm.64cpu.128gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Linux4896 GiB824 GB (SSD)NVMEreserved.x86-64.48cpu.96gib.nvme
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux GPU416 GiB235 GB (SSD)NVMEreserved.gpu.4cpu.16gib.nvme
Linux GPU832 GiB435 GB (SSD)NVMEreserved.gpu.8cpu.32gib.nvme
Linux GPU1664 GiB585 GB (SSD)NVMEreserved.gpu.16cpu.64gib.nvme
Linux GPU32128 GiB885 GB (SSD)NVMEreserved.gpu.32cpu.128gib.nvme
Linux GPU48192 GiB3785 GB (SSD)NVMEreserved.gpu.48cpu.192gib.nvme
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows96192 GiB824 GBGENERALreserved.x86-64.96cpu.192gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib

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

South America (São Paulo)
Environment typevCPUsMemoryDisk spaceMachine typeCompute instance type
ARM24 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM48 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM816 GiB128 GBGENERALreserved.arm.8cpu.16gib
ARM1632 GiB256 GBGENERALreserved.arm.16cpu.32gib
ARM3264 GiB256 GBGENERALreserved.arm.32cpu.64gib
ARM4896 GiB512 GBGENERALreserved.arm.48cpu.96gib
ARM EC224 GiB64 GBGENERALreserved.arm.2cpu.4gib
ARM EC248 GiB128 GBGENERALreserved.arm.4cpu.8gib
ARM EC2816 GiB128 GBGENERALreserved.arm.8cpu.16gib
Linux24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Linux1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Linux3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Linux4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Linux72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Linux72144 GiB824 GB (SSD)NVMEreserved.x86-64.72cpu.144gib.nvme
Linux EC224 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Linux EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Linux EC2816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows24 GiB64 GBGENERALreserved.x86-64.2cpu.4gib
Windows48 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows816 GiB128 GBGENERALreserved.x86-64.8cpu.16gib
Windows1632 GiB256 GBGENERALreserved.x86-64.16cpu.32gib
Windows3672 GiB256 GBGENERALreserved.x86-64.36cpu.72gib
Windows4896 GiB512 GBGENERALreserved.x86-64.48cpu.96gib
Windows72144 GiB824 GBGENERALreserved.x86-64.72cpu.144gib
Windows EC248 GiB128 GBGENERALreserved.x86-64.4cpu.8gib
Windows EC2816 GiB128 GBGENERALreserved.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.

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.

Supported instance families

AWS CodeBuild supports the following instances for reserved capacity fleets.:

  • General purpose: M5 | M5a | M5ad | M5d | M5dn | M5n | M5zn | M6a | M6g | M6gd | M6i | M6id | M6idn | M6in | M7a | M7g | M7gd | M7i | M7i-flex | M8g | T3 | T3a | T4g

  • Compute optimized: C5 | C5a | C5ad | C5d | C5n | C6a | C6g | C6gd | C6gn | C6i | C6id | C6in | C7a | C7g | C7gd | C7gn | C7i | C7i-flex | C8g

  • Memory optimized: R5 | R5a | R5ad | R5b | R5d | R5dn | R5n | R6a | R6g | R6gd | R6i | R6idn | R6in | R6id | R7a | R7g | R7gd | R7i | R7iz | R8g | U-3tb1 | U-6tb1 | U-9tb1 | U-12tb1 | U-18tb1 | U-24tb1 | U7i-6tb | U7i-8tb | U7i-12tb | U7in-16tb | U7in-24tb | U7in-32tb | X1 | X1e | X2gd | X2idn | X2iedn | X2iezn | X8g | z1d

  • Storage optimized: D3 | D3en | I3 | I3en | I4g | I4i | I7ie | I8g | Im4gn | Is4gen

  • Accelerated computing: DL1 | DL2q | F1 | F2 | G4ad | G4dn | G5 | G5g | G6 | G6e | Gr6 | Inf1 | Inf2 | P3 | P3dn | P4d | P5 | P5e | P5en | Trn1 | Trn1n | Trn2 | VT1

  • High-performance computing: Hpc6a | Hpc6id | Hpc7a | 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.

  • 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 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 CUSTOM_INSTANCE_TYPE and the ComputeConfiguration instanceType to the specified instance type. For more information, see the AWS SDKs and tools reference.

About on-demand environment types

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

Compute typeEnvironment computeType valueEnvironment type valueMemoryvCPUsDisk space
ARM Small ¹BUILD_GENERAL1_SMALL

ARM_CONTAINER

ARM_EC2

4 GiB264 GB
ARM Medium ¹BUILD_GENERAL1_MEDIUM

ARM_CONTAINER

ARM_EC2

8 GiB4128 GB
ARM Large ¹BUILD_GENERAL1_LARGE

ARM_CONTAINER

ARM_EC2

16 GiB8128 GB
ARM XLarge ¹BUILD_GENERAL1_XLARGEARM_CONTAINER64 GiB32256 GB
ARM 2XLarge ¹BUILD_GENERAL1_2XLARGEARM_CONTAINER96 GiB48824 GB
Linux Small ¹BUILD_GENERAL1_SMALL

LINUX_CONTAINER

LINUX_EC2

4 GiB264 GB
Linux Medium ¹BUILD_GENERAL1_MEDIUM

LINUX_CONTAINER

LINUX_EC2

8 GiB4128 GB
Linux Large ¹BUILD_GENERAL1_LARGE

LINUX_CONTAINER

LINUX_EC2

16 GiB8128 GB
Linux XLarge ¹BUILD_GENERAL1_XLARGELINUX_CONTAINER72 GiB36256 GB
Linux 2XLargeBUILD_GENERAL1_2XLARGELINUX_CONTAINER144 GiB72824 GB (SSD)
Linux GPU SmallBUILD_GENERAL1_SMALLLINUX_GPU_CONTAINER16 GiB4235 GB (SSD)
Linux GPU LargeBUILD_GENERAL1_LARGELINUX_GPU_CONTAINER255 GiB3250 GB
Windows Medium ¹BUILD_GENERAL1_MEDIUM

WINDOWS_SERVER_2019_CONTAINER

WINDOWS_SERVER_2022_CONTAINER

WINDOWS_EC2

8 GiB4128 GB
Windows Large ¹BUILD_GENERAL1_LARGE

WINDOWS_SERVER_2019_CONTAINER

WINDOWS_SERVER_2022_CONTAINER

WINDOWS_EC2

16 GiB8128 GB
Windows XLarge ¹BUILD_GENERAL1_XLARGE

WINDOWS_SERVER_2022_CONTAINER

72 GiB36256 GB
Windows 2XLarge ¹BUILD_GENERAL1_2XLARGE

WINDOWS_SERVER_2022_CONTAINER

144 GiB72824 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 typeEnvironment computeType valueEnvironment type valueMemoryDisk space
ARM Lambda 1GBBUILD_LAMBDA_1GBARM_LAMBDA_CONTAINER1 GiB10 GB
ARM Lambda 2GBBUILD_LAMBDA_2GBARM_LAMBDA_CONTAINER2 GiB10 GB
ARM Lambda 4GBBUILD_LAMBDA_4GBARM_LAMBDA_CONTAINER4 GiB10 GB
ARM Lambda 8GBBUILD_LAMBDA_8GBARM_LAMBDA_CONTAINER8 GiB10 GB
ARM Lambda 10GBBUILD_LAMBDA_10GBARM_LAMBDA_CONTAINER10 GiB10 GB
Linux Lambda 1GBBUILD_LAMBDA_1GBLINUX_LAMBDA_CONTAINER1 GiB10 GB
Linux Lambda 2GBBUILD_LAMBDA_2GBLINUX_LAMBDA_CONTAINER2 GiB10 GB
Linux Lambda 4GBBUILD_LAMBDA_4GBLINUX_LAMBDA_CONTAINER4 GiB10 GB
Linux Lambda 8GBBUILD_LAMBDA_8GBLINUX_LAMBDA_CONTAINER8 GiB10 GB
Linux Lambda 10GBBUILD_LAMBDA_10GBLINUX_LAMBDA_CONTAINER10 GiB10 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:

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. 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 Capabilitieson the Docker Docs website and enable privileged mode. Also, Windows does not support privileged mode.