hands-on lab

Getting Started with Amazon Simple Notification Service

Difficulty: Beginner
Duration: Up to 1 hour
Students: 496
Rating: 4/5
On average, students complete this lab in35m
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 a fully managed, highly scalable service that facilitates message delivery using a publish/subscribe model. SNS supports several transports, such as HTTP/S, SMS and email, and can deliver push messages to multiple recipients at once. SNS is often used to push messages directly to other supported AWS services, such as Lambda or Simple Queue Service (SQS). SNS is integrated with AWS CloudTrail so that SNS actions are captured, logged and delivered to an S3 bucket. 

Learning objectives

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

  • Turn on CloudTrail so that SNS actions are captured
  • Create an SNS topic
  • Create a subscription to an SNS topic
  • Publish text and JSON messages to your topic
  • Use Athena to query data from CloudTrail logs

Prerequisites

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

  • AWS Management Console
  • AWS CloudTrail
  • AWS Simple Storage Service (S3)
  • Structured Query Language (SQL) basics

Lab Environment

After completing the lab instructions, the environment should look similar to:

 

Updates

May 27th, 2025 - Updated screenshots and instructions to reflect the latest user interface changes

July 1st, 2021 - Updated all instructions and screenshots to reflect the latest user interface changes

May 14th, 2020 - Updated the CloudTrail instructions/screenshots due to the new AWS UI

March 13th, 2019 - Changed instructions and screenshots because of the new UI

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

Covered topics

Hands-on Lab UUID

Lab steps

Logging In to the Amazon Web Services Console
Learning Important Messaging Specific Terms
Creating Your First Trail
Creating an SNS Topic
Creating a Subscription and Subscribing to a Topic
Publishing a Message
Using Amazon Athena to View CloudTrail Logs