hands-on lab

Implementing Robust Health Checks in an AWS CodePipeline

Difficulty: Beginner
Duration: Up to 1 hour and 30 minutes
Students: 33
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

AWS CodePipeline is a serverless continuous delivery offering available in the public AWS cloud. Being serverless, you can avoid the technical complexity of creating and managing pipeline infrastructure.

Learning how to use AWS CodePipeline to perform actions to meet specific requirements is a skill that DevOps engineers working with AWS will benefit from.

In this lab, you will modify an AWS CodePipeline to health check an application after deployment.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Create and implement an AWS Lambda function
  • Create an Amazon Simple Notification Service (SNS) topic
  • Modify an AWS CodePipeline
  • Create an Amazon CloudWatch alarm

Intended audiences

  • Candidates for AWS Certified DevOps Engineer Professional certification
  • DevOps Engineers
  • Cloud Architects
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • AWS CodePipeline
  • AWS Lambda
  • Amazon SNS
  • Amazon CloudWatch

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

Integrating health checks in an AWS CodePipeline
Logging In to the Amazon Web Services Console
Creating a health check AWS Lambda function
Creating an Amazon SNS Topic
Adding a health check to an AWS CodePipeline
Notifying SNS after a deploy