AWS CodeBuild
User Guide (API Version 2016-10-06)

Build Environment Compute Types

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

Compute type computeType value Memory vCPUs Disk space
build.general1.small BUILD_GENERAL1_SMALL 3 GB 2 64 GB
build.general1.medium BUILD_GENERAL1_MEDIUM 7 GB 4 128 GB
build.general1.large BUILD_GENERAL1_LARGE 15 GB 8 128 GB


For custom build environment images, AWS CodeBuild supports Docker images up to 10 GB uncompressed, regardless of the compute type. To check your build image's size, use Docker to run the docker images REPOSITORY:TAG command.

To choose one of these compute types: