QwikSkills Support

Home
AWS Labs
Configure a CloudWatch Alarm for Lambda Invocation Errors with SNS Notifications

Configure a CloudWatch Alarm for Lambda Invocation Errors with SNS Notifications

Difficulty Level
Intermediate
Prerequisites
none
Lab Duration
45 Min
About Lab

Overview:

This lab walks you through the steps to configure a CloudWatch alarm to know when Lambda invocation experiences errors.

What Will You Learn?

Upon completion of this lab you will be able to:

  • Create an example Lambda function.
  • Test the Lambda function.
  • Create a CloudWatch alarm to alert on the failure of a Lambda invocation.
  • Add a bug into the Lambda function's code and test the CloudWatch alarm.
  • Subscribe to your email address to the SNS Topic to be alerted on Lambda function failures.

Prerequisites:

No prior experience is required for performing this lab.

Lab Steps:

1. Starting a lab

  • Every AWS lab on the QwikSkills platform has a uniform user interface. You will see the below screen whenever you open up any lab.
  • The blue-colored “Start Lab” button will set up the temporary username and password and assign the required cloud permissions in the background. Click on the button to start the lab. 

2. Opening AWS Portal

  • After you have clicked the start button, the cloud environment is created for the lab and you can use your temporary AWS cloud interface using the provided username and password