Skip to main content

Amazon CodeBuild pricing

Free Tier

CodeBuild Free Tier is available in the Amazon Web Services China (Ningxia) Region operated by NWCD and Amazon Web Services China (Beijing) Region operated by Sinnet. The Free Tier includes 100 build minutes per month of build.general1.small compute type usage.

Learn more »

Amazon Web Services China (Beijing) Region operated by Sinnet, Amazon Web Services China (Ningxia) Region operated by NWCD

Amazon 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

Amazon 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.arm1.small (Beijing)
3
2
0.0295
N/A
build.arm1.small (Ningxia)
3
2
0.02
N/A
build.general1.small
3
2
0.035
N/A
build.general1.medium
7
4
0.07
N/A
build.arm1.large (Beijing)
15
8
0.125
N/A
build.arm1.large (Ningxia)
15
8
0.08
N/A
build.general1.large
15
8
0.14
N/A
build.general1.2xlarge (Beijing)
144
72
2
N/A
build.gpu1.large (Beijing)
244
32
8
N/A
build.general1.2xlarge (Ningxia)
144
72
1.4
N/A
build.gpu1.large (Ningxia)
244
32
5.5
N/A

Additional charges

You may incur additional charges if your builds transfer data or use other Amazon Web Services 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 Amazon CodeBuild