DOP-C02

Introduction to AWS CodePipeline

The release orchestration service that connects source, build, test and deployment: pipeline structure, execution behaviour, variables, approvals and stage conditions, cross-account and cross-Region designs, and the deployment actions available for each target.

  • 4 lessons
  • Module quiz

A release is a sequence of steps that must happen in order: the latest code is collected, built, tested, approved and deployed to one environment after another. AWS CodePipeline automates this sequence as a pipeline of stages and actions, runs it whenever a change is detected, and records every execution.

CodePipeline orchestrates rather than builds or deploys. Its actions call other services, such as CodeBuild, CodeDeploy, CloudFormation, Amazon ECS and AWS Lambda, and it passes artifacts and variables between them.

Where this module fits

CodePipeline is the backbone of the CI/CD domain and appears in many scenarios elsewhere in the exam, for example as the source of events for notifications or as the place where policy checks and approvals are enforced. The exam tests execution behaviour, gates and approvals, and above all cross-account and cross-Region designs, which require artifact buckets, KMS keys and roles to be configured correctly.

How this module is organised

Understanding Pipelines in AWS CodePipeline explains stages, actions, artifacts, pipeline types and execution modes. Using Variables, Approvals and Stage Conditions explains how values flow between actions and how releases are stopped or rolled back automatically. Designing Cross-Account and Cross-Region Pipelines explains the resources a multi-account pipeline needs. Deploying with CodePipeline Deploy Actions compares the deployment actions available for each target.

  1. Understanding Pipelines in AWS CodePipeline Lesson 1
  2. Using Variables, Approvals and Stage Conditions Lesson 2
  3. Designing Cross-Account and Cross-Region Pipelines Lesson 3
  4. Deploying with CodePipeline Deploy Actions Lesson 4
  5. Practise and review
  6. Checkpoint Practice activities across the module
  7. Test your knowledge 4 questions