hands-on lab

Filtering Published Amazon SNS Messages

Difficulty: Beginner
Duration: Up to 1 hour
Students: 1,636
Rating: 4.8/5
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

Amazon Simple Notification Service (SNS) is fully-managed publish and subscribe service from Amazon Web Services (AWS). It's widely used in solutions built on AWS and can be flexibly combined with other services from AWS to produce sophisticated systems. Amazon SNS supports applying filters to subscriptions and allows for complex message filtering behavior.

Learning how to create and configure Amazon SNS topics and subscriptions will make you more effective at developing and deploying solutions built on AWS.

In this hands-on laboratory, you will create an Amazon SNS topic, subscribe Amazon SQS queues to it, create subscription filters, and publish Amazon SNS messages.

Learning Objectives

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

  • Create an Amazon SNS topic
  • Create topic subscriptions with filters applied
  • Publish messages to your Amazon SNS topic
  • Use Amazon CloudWatch charts to observe resource metrics

Intended Audience

  • Candidates for the AWS Certified Solutions Architect Associate certification
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers

Prerequisites

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

  • Amazon Simple Notification Service (SNS)
  • Amazon Simple Queue Service (SQS)
  • AWS Lambda
  • Amazon DynamoDB
  • Amazon CloudWatch

The following content can be used to fulfill the prerequisites:

Updates

April 26th, 2023 - Updated the instructions and screenshots to reflect the latest UI

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating a Topic and Subscribing Queues
Publishing Amazon SNS Messages With Attributes
Verifying the Published Amazon SNS Messages