ExitAWS CodeBuild vs AWS CodePipeline: execution and orchestration1 / 9
Explanation

Separate the release controller from the command executor

How responsibility for executing build commands differs from responsibility for orchestrating release stages and their transitions. · advanced

AWS CodePipeline owns the release workflow: stages, actions, their ordering, and whether execution can progress. For an action whose provider is AWS CodeBuild, CodePipeline starts a build and tracks its outcome; CodeBuild supplies the execution environment and runs the project's build and test commands.

This is a boundary between orchestration and execution, not between building and testing. Step Functions orchestrates state machines, not CodePipeline's stage model. CodeDeploy executes deployments. AWS Batch executes job definitions, and Lambda executes function code; neither substitutes for the executor of a referenced CodeBuild project.

The diagram isolates one successful CodeBuild action: its control handoff and access to pipeline artifacts. Source acquisition, later actions, and other artifact-store access are outside this view.

Build invocationInput artifactOutput artifactBuild status
AWS CodePipelineRelease stages and transitions
AWS CodeBuildReferenced project: build and test commands
Amazon S3 bucketPipeline artifact store

1 / 5 CodePipeline holds the release-stage model and determines when this action is eligible to run.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.