AWS CodeBuild Exam frequency ⭐⭐⭐

AWS CodeBuild

AWS CodeBuild

devopsAWS CodeBuildAWS
Last organized

Compiles code, runs tests, and produces build artifacts in temporary environments.

Basic information

FieldContent
EnglishAWS CodeBuild
Full nameAWS CodeBuild
Chinese托管构建服务
Japaneseマネージドビルド
Exam frequency⭐⭐⭐
Often confused withCodePipeline

In one sentence

Compiles code, runs tests, and produces build artifacts in temporary environments.

Stage summary

  • Core role:Compiles code, runs tests, and produces build artifacts in temporary environments.
  • Exam frequency:3 / 5
  • Compare with:CodePipeline

Memory hook

AWS CodeBuild = Compiles code, runs tests, and produces build artifacts in temporary environments.

How it works

  1. Retrieves source from a repository, S3, or CodePipeline.
  2. Runs install, pre_build, build, and post_build phases from buildspec.yml.
  3. Compiles, tests, and packages in an isolated ephemeral environment.
  4. Outputs artifacts and sends logs to CloudWatch Logs.

CodeBuild runs builds and tests; CodePipeline orchestrates the pipeline; CodeDeploy deploys to targets. Private dependencies and VPC resources also require correct network, IAM role, and secret access.