Service · Developer Tools
AWS CodePipeline
Automates the steps to release software, so every code change is built, tested and deployed the same way.
- 1A developer pushes a change to the code repository. CodePipeline detects it and starts a run.
- 2The build stage runs CodeBuild to compile the code and run the tests.
- 3If the tests pass, the pipeline waits for a person to approve the release.
- 4The deploy stage releases the new version, here to Elastic Beanstalk. Amazon ECS or Amazon S3 work too.
Step by step
- 1A developer pushes a change to the code repository. CodePipeline detects it and starts a run.
- 2The build stage runs CodeBuild to compile the code and run the tests.
- 3If the tests pass, the pipeline waits for a person to approve the release.
- 4The deploy stage releases the new version, here to Elastic Beanstalk. Amazon ECS or Amazon S3 work too.
One run of a pipeline, from a code change to a new release.
CodePipeline
- What it does
- Runs every step of a release, from a code change to deployment
- Clue in a question
- Continuous delivery, release pipeline
- What it does
- Compiles code, runs tests and builds packages
- Clue in a question
- Build and test code with no build servers
- What it does
- Traces requests through a running application
- Clue in a question
- Find the slow or failing part of a distributed app
- What it does
- Creates AWS resources from a template
- Clue in a question
- Infrastructure as code, repeatable environments
- What it does
- Runs AWS commands from a terminal or a script
- Clue in a question
- Automate tasks from the command line
| Tool | What it does | Clue in a question |
|---|---|---|
| Runs every step of a release, from a code change to deployment | Continuous delivery, release pipeline | |
| Compiles code, runs tests and builds packages | Build and test code with no build servers | |
| Traces requests through a running application | Find the slow or failing part of a distributed app | |
| Creates AWS resources from a template | Infrastructure as code, repeatable environments | |
| Runs AWS commands from a terminal or a script | Automate tasks from the command line |
1 / 3
CodePipeline
- What it does
- Runs every step of a release, from a code change to deployment
- Clue in a question
- Continuous delivery, release pipeline
- What it does
- Compiles code, runs tests and builds packages
- Clue in a question
- Build and test code with no build servers
| Tool | What it does | Clue in a question |
|---|---|---|
| Runs every step of a release, from a code change to deployment | Continuous delivery, release pipeline | |
| Compiles code, runs tests and builds packages | Build and test code with no build servers |
2 / 3
- What it does
- Traces requests through a running application
- Clue in a question
- Find the slow or failing part of a distributed app
- What it does
- Creates AWS resources from a template
- Clue in a question
- Infrastructure as code, repeatable environments
| Tool | What it does | Clue in a question |
|---|---|---|
| Traces requests through a running application | Find the slow or failing part of a distributed app | |
| Creates AWS resources from a template | Infrastructure as code, repeatable environments |
3 / 3
- What it does
- Runs AWS commands from a terminal or a script
- Clue in a question
- Automate tasks from the command line
| Tool | What it does | Clue in a question |
|---|---|---|
| Runs AWS commands from a terminal or a script | Automate tasks from the command line |
What it is
AWS CodePipeline is a fully managed continuous delivery (CD) service. You model your release process as a pipeline made of stages, such as source, build, test and deploy. Each time someone changes the code, the change moves through the stages automatically.
Each stage hands the work to a tool. The source stage watches a repository, such as GitHub or Amazon S3. The build stage often uses AWS CodeBuild. The deploy stage can release to AWS Elastic Beanstalk, Amazon ECS, Amazon S3 or AWS CloudFormation. A manual approval step can stop a release until a person agrees.
What it is
Because every change follows the same path, releases are faster and more consistent, with fewer human mistakes. The console shows where each change is and which stage stopped it.
Remember
- Continuous delivery: every change is built, tested and deployed automatically.
- Typical stages: source, build, test, approval and deploy.
- CodePipeline orchestrates. Tools such as CodeBuild do the work inside each stage.
- A manual approval can pause a release before it reaches production.
Remember
- Fully managed: no servers to run for the pipeline.
On the exam
- “Automate the build, test and deployment of every code change” or “continuous delivery” points to AWS CodePipeline.
- “Compile code and run unit tests” on its own points to AWS CodeBuild.
Do not mix it up with
AWS CodeBuildA fully managed build service: it compiles code, runs tests and makes packages ready to deploy, with no build servers.
AWS CloudFormationBuilds and manages AWS resources from a template, as a single unit called a stack.
AWS Step FunctionsCoordinates several AWS services as one visual workflow, with steps, decisions, retries and waits.