AWS CodeBuild pricing

AWS China (Beijing) Region operated by Sinnet, AWS China (Ningxia) Region operated by NWCD

AWS CodeBuild uses simple pay-as-you-go pricing. There are no upfront costs or minimum fees. You pay only for the resources you use. You are charged for compute resources based on the duration it takes for your build to execute. The per-minute rate depends on the selected compute type.

Build duration

Build Duration is calculated in minutes, from the time you submit your build until your build is terminated, rounded up to the nearest minute.

Compute types

AWS CodeBuild offers three compute instance types with different amounts of memory and CPU. Charges vary by the compute instance type that you choose for your build.

Compute instance type

Memory (GB)

vCPU

Linux price per build minute (¥)

Windows price per build minute (¥)

build.general1.small

3

2

0.0035

0.0625

build.general1.medium

7

4

0.07

0.125

build.general1.large

15

8

0.14

0.25

Free Tier

The AWS CodeBuild free tier includes 100 build minutes of build.general1.small per month. The CodeBuild free tier does not expire automatically at the end of your 12-month AWS Free Tier term. It is available to new and existing AWS customers.

Additional charges

You may incur additional charges if your builds transfer data or use other AWS services. For example, you may incur charges from Amazon CloudWatch Logs for build log streams and Amazon S3 for build artifact storage.

Learn more about AWS CodeBuild

Visit the features page
Ready to build?
Get started with AWS CodeBuild
Have more questions?
Contact us