Skip to main content

AWS CodeBuild Documentation

AWS CodeBuild is designed to run your builds in preconfigured build environments that contain the operating system, programming language runtime, and build tools required to complete the task.

You can define the specific commands that you want AWS CodeBuild to perform, such as installing build tool packages, running unit tests, and packaging your code. AWS CodeBuild is designed to build your code and store the artifacts into an Amazon S3 bucket, or you can use a build command to upload them to an artifact repository.

Build environments

AWS CodeBuild provides build environments for software languages and frameworks including Java, Python, Node.js, Ruby, Go, Android, .NET Core for Linux, and Docker.

You can bring your own build environments to use with AWS CodeBuild, such as for the Microsoft .NET Framework. You can package the runtime and tools for your build into a Docker image and upload it to a public Docker Hub repository or Amazon Elastic Container Registry (Amazon ECR). When you create a new build project, AWS CodeBuild is designed to allow you to specify the location of your Docker image, and CodeBuild is designed to pull the image and use it as the build project configuration.

Configurable settings

Build commands

You can define commands, such as installing build tool packages, running unit tests, and packaging your code.

Compute type

You can select a compute type and choose levels of compute capacity that vary by the amount of CPU and memory.

Integration and delivery workflows

You can integrate CodeBuild into certain continuous integration and continuous delivery (CI/CD) workflow using its source integrations and build commands.

Security and permissions

Your build artifacts are designed to be encrypted with customer-specific keys that are managed by the AWS Key Management Service (KMS).

Monitoring

AWS CodeBuild is designed to show you information such as the build’s start time, end time, status and commit ID. 

Receive Notifications

You can create notifications for events impacting your build projects. Each notification is designed to include a status message as well as a link to the resources whose event generated that notification.

Additional Information

For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.aws.amazon.com/index.html. This additional information does not form part of the Documentation for purposes of the AWS Customer Agreement available at http://aws.amazon.com/agreement, or other agreement between you and AWS governing your use of AWS’s services.