Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Compute images supported with the CodeBuild-hosted GitHub Actions runner

Focus mode
Compute images supported with the CodeBuild-hosted GitHub Actions runner - AWS CodeBuild

In the label you configured in Tutorial: Configure a CodeBuild-hosted GitHub Actions runner, you can override your Amazon EC2 environment settings by using the values in the first three columns. CodeBuild provides the following Amazon EC2 compute images. For more information about

Environment type Image identifier Instance size Platform Resolved image Definition

linux

4.0

small

medium

large

xlarge

2xlarge

gpu_small

gpu_large

Amazon Linux 2 aws/codebuild/amazonlinux-x86_64-standard:4.0 al/standard/4.0

linux

5.0

Amazon Linux 2023 aws/codebuild/amazonlinux-x86_64-standard:5.0 al/standard/5.0

arm

2.0

small

medium

large

xlarge

2xlarge

Amazon Linux 2 aws/codebuild/amazonlinux-aarch64-standard:2.0 al/aarch64/standard/2.0

arm

3.0

Amazon Linux 2023 aws/codebuild/amazonlinux-aarch64-standard:3.0 al/aarch64/standard/3.0

ubuntu

5.0

small

medium

large

xlarge

2xlarge

gpu_small

gpu_large

Ubuntu 20.04 aws/codebuild/standard:5.0 ubuntu/standard/5.0

ubuntu

6.0

Ubuntu 22.04 aws/codebuild/standard:6.0 ubuntu/standard/6.0

ubuntu

7.0

Ubuntu 22.04 aws/codebuild/standard:7.0 ubuntu/standard/7.0

windows

1.0

medium

large

Windows Server Core 2019 aws/codebuild/windows-base:2019-1.0 N/A
Windows Server Core 2022 aws/codebuild/windows-base:2022-1.0 N/A

windows

2.0

Windows Server Core 2019 aws/codebuild/windows-base:2019-2.0 N/A

windows

3.0

Windows Server Core 2019 aws/codebuild/windows-base:2019-3.0 N/A

In addition, you can override your Lambda environment settings by using the following values. For more information about CodeBuild Lambda compute, see Run builds on AWS Lambda compute. CodeBuild supports the following Lambda compute images:

Environment type Image identifier Instance size

linux-lambda

dotnet6

go1.21

corretto11

corretto17

corretto21

nodejs18

nodejs20

python3.11

python3.12

ruby3.2

1GB

2GB

4GB

8GB

10GB

arm-lambda

For more information, see Build environment compute modes and types and Docker images provided by CodeBuild.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.