Basic information
| Field | Content |
|---|---|
| English | AWS CodeBuild |
| Full name | AWS CodeBuild |
| Chinese | 托管构建服务 |
| Japanese | マネージドビルド |
| Exam frequency | ⭐⭐⭐ |
| Often confused with | CodePipeline |
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
- Retrieves source from a repository, S3, or CodePipeline.
- Runs install, pre_build, build, and post_build phases from
buildspec.yml. - Compiles, tests, and packages in an isolated ephemeral environment.
- 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.