Process Amazon SNS notifications with AWS Lambda
410 students completed the lab in ~30m
Total available time: 1h:30m
270+ students rated this lab!
How to process SNS notifications with AWS Lambda
Amazon Simple Notification Service lets you send messages to email recipients, webhooks or mobile devices via SMS or push notifications.
With Amazon SNS you can deliver an unlimited number of notifications without worrying about scaling up. Additionally, you can process every message with AWS Lambda to implement any custom integration with your AWS resources or third party services.
In this lab, we will learn how to process each SNS notification with a Lambda Function. As a simple example, we will use Python to log custom metrics to CloudWatch based on the message payload.
Follow these steps to learn by building helpful cloud resources
Log In to the Amazon Web Service Console
Your first step to start the laboratory experience
SNS topics and messages overview
Learn how to interact with SNS topics and messages.
Create a new SNS Topic
Create a new SNS Topic and learn how to publish messages.
Implement a Lambda Function to process SNS messages
AWS Lambda implementation of the processing logic.
Test the SNS Trigger
Publish a new SNS message and verify the trigger output.