Select Page

SNS Essentials

by | AWS

“Amazon Simple Notification Service (Amazon SNS) is a web service that coordinates and manages the delivery or sending of messages to subscribing endpoints or clients. In Amazon SNS, there are two types of clients—publishers and subscribers—also referred to as producers and consumers. 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, Amazon SQS queues, AWS Lambda functions) consume or receive the message or notification over one of the supported protocols (i.e., Amazon SQS, HTTP/S, email, SMS, Lambda) when they are subscribed to the topic.”

Simplified: An AWS service  that allow you to automate the sending of email or text message notifications, based on events that happen in your AWS account.

Basics


 

SNS Components

Topics

How you label and group different endpoints that you send messages to.

Subscriptions

The endpoints that a topic sends messages to. (i.e. the email address or phone number of our system admin)

Publishers

The human/alarm/event that gives SNS the message that needs to be sent.

Pricing


Free Tier use is available for SNS

How are you charged for using SNS?

  1. Publishers
    • Number of SNS request (i,e the message that needs to be sent)
  2. Notifications Deliveries
    • The number of subscribers the message is sent to.
  3. Data Transfer In/Out of SNS

Using SNS


How to

Create a Topic

Add Subscription

Send Messages

Sources