Creating and Subscribing to SNS Topics, Adding SNS event for S3 bucket

Lab Details

  1. This lab walks you through the creation and subscription of an Amazon SNS Topic. Using an AWS S3 bucket you will test the subscription.

  2. Duration: 30 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Introduction

What is SNS?

  • SNS stands for Simple Notification Service.

  • Provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users.

  • SNS acts as a single message bus that can message to a variety of devices and platforms.

  • SNS uses the publish/subscribe model for push delivery of messages.

  • SNS enables us to decouple microservices, distributed systems, and serverless applications using fully managed pub/sub.

  • Publishers communicate asynchronously with subscribers by producing and sending a message to a topic, which is a logical access point and communication channel.

  • Subscribers i.e., web servers, email addresses, SQS queues etc., consume or receive the message or notification over one of the supported protocols when they are subscribed to the topic.

  • Recipients subscribe to one or more "topics" within SNS.

  • Using SNS topics, the publisher systems can fan out messages to a large number of subscriber endpoints for parallel processing, including Amazon SQS queues, AWS Lambda functions, and HTTP/S webhooks.

  • SNS is reliable in delivering messages with durability.

  • SNS can help in automatically scale the workload.

  • Using topic policies, you can keep messages private and secure.

Task Details

  1. Log into the AWS Management Console.

  2. Create an SNS Topic

  3. Subscribe to an SNS Topic

  4. Create an S3 bucket

  5. Update an SNS Topic Access Policy

  6. Create an S3 Event

  7. Testing the SNS Notification

Architecture Diagram



Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses