Amazon SNS

Amazon SNS - Worldwide SMS

With Worldwide SMS feature, you can use SNS to deliver SMS (text) messages to 200+ countries, and you do not require recipients to explicitly opt in like in other cases.

You must obtain prior permission from recipients to send SMS messages to their phone numbers, where required by local law and regulations.

You can also mark your SMS messages as Transactional to optimize for reliable delivery (e.g. one-time passwords (OTP) or PINs), or you can mark it as Promotional to optimize for cost savings.

Amazon SNS - Integration and Comparisons with AWS Services

SNS can be used with other AWS services such as SQS, EC2 and S3.

For example, notifications can be used to orchestrate an order processing system running on EC2, where notifications sent over HTTP can trigger real-time processing in related components such as an inventory system or a shipping service. By integrating Amazon SNS with Amazon SQS, all notifications delivered are also persisted in an SQS queue where they are processed by an auditing application at a future time.

 

Amazon SNS Features - Security Features, Push Notifications, Direct Addressing, TTL

Will discuss about some of the features of SNS.Notes on Security is important for the exams.

 

SNS Security Features

  1. All API calls made to SNS are validated for the user’s AWS Id and the signature.

  2. Topics can only be created by users with valid AWS IDs who have signed up for SNS.

Amazon SNS - Delivery Formats and Transports for Receiving Notifications

Customers can select one the following transports as part of the subscription requests:

  1. “HTTP”, “HTTPS”

    1. Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL.

  2. ”Email”, “Email-JSON”

Amazon SNS - Operations API Overview and Failures

SNS operations can be classified as owner operations, subscriber operations and publisher operations.

Owner operations

  1. CreateTopic

    1. Create a new topic.

  2. DeleteTopic

    1. Delete a previously created topic.

  3. ListTopics

Amazon Simple Notification Service (SNS) Overview

Amazon Simple Notification Service (SNS) is a web service that makes it easy to set up, operate, and send notifications from the cloud. It provides developers with capability to publish messages from an application and immediately deliver them to subscribers or other applications.

Amazon SNS follows the “publish-subscribe” (pub-sub) messaging paradigm, with notifications being delivered to clients using a “push” mechanism that eliminates the need to periodically check or “poll” for new information and updates.