Skip to content

AWS CodeBuild

#145 · Level 4 · Operations and specialized areas · DevOps and Infrastructure as Code

AWS CodeBuild is a managed build service that compiles code, runs tests and makes a package ready to run — without your own build server. For each build it starts a new, separate environment and removes it when the work is done. What happens in each step is written in a file called buildspec. The finished output (artifact) is usually kept in S3, or in ECR if it is a container image. It is often used as the build stage of CodePipeline.

A factory assembly line — raw material (code) goes in, gets tested, and a finished product comes out.

Building and testing by hand every time the code changes takes time and leads to mistakes.

Running tests automatically on every code change, and building container images.

Azure Pipelines (build)

For details and the latest information, see the official documentation: