Monitoring AWS CodePipeline Changes Through AWS CloudWatch Events Rules

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

Your company decided to automate its application deployment process with AWS CodePipeline. The management team would like the DevOps team to closely monitor the pipeline by triggering email notifications for any events that occur in the pipeline. In this lab, we will set up CloudWatch events to monitor a CodePipeline. By creating an SNS topic, we can link our CloudWatch event to the SNS topic. Subscribers to the topic will then be notified via email of changes in our CodePipeline.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Set Up Amazon SNS Topic and Email Subscription

From the AWS Management Console, navigate to SNS and create a topic, setting your email address for the email subscription.

Set Up S3 Bucket as Source Repository

Navigate to S3, and create a bucket. Upload the MessageUtil.zip file provided with the lab GitHub page.

Create a CodePipeline Pipeline

Navigate to CodePipeline, and create a pipeline, setting S3 as the source provider and deploy provider.

Create a CloudWatch Events Rule and Add the SNS Topic as the Target

Navigate to CloudWatch, and create a new rule. Set the service as CodePipeline.

Additional Resources

Log in to the live AWS environment using the credentials provided.

Make sure you're in the N. Virginia (us-east-1) region throughout the lab.

Please download the zip file used in the lab: https://github.com/natonic/Developer-Tools-Deep-Dive/tree/master/Labs/MonitorCodepipelineThruCloudWatch

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!