In this lab, you deploy an existing, containerized application using Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Container Registry (Amazon ECR), AWS CodeDeploy (CodeDeploy), AWS CodePipeline (CodePipeline), and the AWS Cloud Development Kit (AWS CDK). You define the test and production infrastructure, and add deployment stages to the pipeline to deploy the application.
Course objectives
- Create a pipeline to build and test an application.
- Create a test report to visualize the test results.
- Extend the pipeline to build and push a Docker container to Amazon ECR.
- Define environment infrastructure for an application using the AWS CDK.
- Add a deployment stage to a pipeline.
- Add a manual deployment stage to a pipeline.
Prerequisites
- A functional understanding of containers on AWS: Docker, Amazon ECS, Amazon ECR
- A functional understanding of source control: git and AWS CodeCommit
- Basic Python coding skills
Course outline
- Task 1: Create and Run a CI/CD Pipeline
- Task 2: Create a Test Report
- Task 3: Use AWS CDK to Create an ECR to host the application container image
- Task 4: Build and Push the Docker container to Amazon ECR
- Task 5: Create Test and Prod Environments
- Task 6: Configure continuous delivery to the test environment
- Task 7: Test the application deployment to the Test Environment
- Task 8: Add gated delivery to the pipeline stack