Getting Started with Amazon Simple Notification Service

Beginner

52 students completed the lab in ~36m

Total available time: 1h:0m

20+ students rated this lab!

Introduction to Amazon Simple Notification Service

Lab Overview

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. 

Lab Objectives

Upon completion of this lab you will be able to:

  • Turn on CloudTrail so that SNS actions are captured
  • Create a SNS topic
  • Create a subscription to an SNS topic
  • Send a single message and have it delivered to multiple recipients
  • Send a JSON formatted message and confirm customized content is delivered based on the transport type
  • Use Athena to query data from CloudTrail logs

Lab Prerequisites

You should have a conceptual understanding of:

  • 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:

Follow these steps to learn by building helpful cloud resources

Log In to the Amazon Web Service Console

Your first step to start the Lab experience

Learning important Messaging specific terms

Learn key terms and how they apply in context of AWS Simple Notification Service

Creating your first Trail

Turn on CloudTrail and create your first Trail

Creating an SNS Topic

Create an SNS topic for use as a communication channel

Creating a Subscription and subscribing to a Topic

Create a subscription in order to receive push notifications

Publishing a Message

Publish a message and confirm delivery to all subscribers

Using Amazon Athena to view CloudTrail logs

Run SQL queries to see key events