Reserved capacity fleet properties
A reserved capacity fleet contains the following properties. For more information about reserved capacity fleets, see Run builds on reserved capacity fleets.
- Operating system
-
The operating system. The following operating systems are available:
-
Amazon Linux
-
macOS
-
Windows Server 2019
-
Windows Server 2022
-
- Architecture
-
The processor architecture. The following architectures are available:
-
x86_64
-
Arm64
-
- Compute
-
The compute machine type for each instance. The following machine types are available:
Compute type Environment computeType value Environment type value Memory vCPUs Disk space ARM Small ¹ BUILD_GENERAL1_SMALL
ARM_CONTAINER
4 GB 2 64 GB ARM Medium ¹ BUILD_GENERAL1_MEDIUM
ARM_CONTAINER
8 GB 4 128 GB ARM Large ¹ BUILD_GENERAL1_LARGE
ARM_CONTAINER
16 GB 8 128 GB ARM XLarge ¹ BUILD_GENERAL1_XLARGE
ARM_CONTAINER
64 GB 32 256 GB ARM 2XLarge ¹ BUILD_GENERAL1_2XLARGE
ARM_CONTAINER
96 GB 48 824 GB Linux Small ¹ BUILD_GENERAL1_SMALL
LINUX_CONTAINER
3 GB 2 64 GB Linux Medium ¹ BUILD_GENERAL1_MEDIUM
LINUX_CONTAINER
7 GB 4 128 GB Linux Large ¹ BUILD_GENERAL1_LARGE
LINUX_CONTAINER
15 GB 8 128 GB Linux XLarge BUILD_GENERAL1_XLARGE
LINUX_CONTAINER
70 GB 36 256 GB Linux 2XLarge BUILD_GENERAL1_2XLARGE
LINUX_CONTAINER
145 GB 72 824 GB (SSD) Linux GPU Small BUILD_GENERAL1_SMALL
LINUX_GPU_CONTAINER
16 GB 4 220 GB Linux GPU Large BUILD_GENERAL1_LARGE
LINUX_GPU_CONTAINER
255 GB 32 50 GB macOS Medium BUILD_GENERAL1_MEDIUM
MAC_ARM
24 GB 8 128 GB macOS Large BUILD_GENERAL1_LARGE
MAC_ARM
32 GB 12 256 GB Windows Medium BUILD_GENERAL1_MEDIUM
WINDOWS_SERVER_2019_CONTAINER
7 GB 4 128 GB Windows Medium BUILD_GENERAL1_MEDIUM
WINDOWS_SERVER_2022_CONTAINER
7 GB 4 128 GB Windows Large BUILD_GENERAL1_LARGE
WINDOWS_SERVER_2019_CONTAINER
15 GB 8 128 GB Windows Large BUILD_GENERAL1_LARGE
WINDOWS_SERVER_2022_CONTAINER
15 GB 8 128 GB - Capacity
-
The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.
- Overflow behavior
-
Defines the behavior when the number of builds exceeds the fleet capacity.
- On-demand
-
Overflow builds run on CodeBuild on-demand.
Note
If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface.
Important
If you choose to set your overflow behavior to on-demand, note that overflow builds will be billed separately, similar to on-demand Amazon EC2. For more information, see https://aws.amazon.com/codebuild/pricing/
. - Queue
-
Build runs are placed in a queue until a machine is available. This limits additional costs because no additional machines are allocated.
- Amazon Machine Images (AMI)
-
The Amazon Machine Image (AMI) properties for your fleet. The following properties are supported by CodeBuild:
AWS Regions Organization ARN Organization ID us-east-1
arn:aws:organizations::851725618577:organization/o-c6wcu152r1
o-c6wcu152r1
us-east-2
arn:aws:organizations::992382780434:organization/o-seufr2suvq
o-seufr2suvq
us-west-2
arn:aws:organizations::381491982620:organization/o-0412o99a4r
o-0412o99a4r
ap-southeast-2
arn:aws:organizations::767398067170:organization/o-6crt0f6bu4
o-6crt0f6bu4
eu-central-1
arn:aws:organizations::590183817084:organization/o-lb2lne3te6
o-lb2lne3te6
- Additional configuration
-
- VPC - optional
-
The VPC that your CodeBuild fleet will access. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud.
- Subnets
-
The VPC subnets that CodeBuild uses to set up your VPC configuration. Note that reserved capacity fleets support only one subnet in a single Availablity Zone. Also, ensure that your subnets include a NAT gateway.
- Security groups
-
The VPC security groups that CodeBuild uses with your VPC. Ensure that your security groups allow outbound connections.
- Fleet Service Role
-
Defines the service role for your fleet from an existing service role in your account.