AWS — Amazon SNS Overview

Introduction to Amazon Simple Notification Service

AWS SNS stands for Simple Notification Service is a cloud service that handles and facilitates the transmission or distribution of messages to endpoints or customers who subscribe. This offers developers a highly scalable, cost-effective, and versatile ability to publish an application’s messages and distribute them to other applications.

It follows the messaging paradigm of publish-subscribe(pub-sub) with notification being delivered to the client using a push mechanism that removes the need to periodically check or poll for new information and updates.

All messages posted to Amazon SNS are processed redundantly around

various Availability Zones to prevent the message from being lost.

  • It follows the messaging paradigm of publish-subscribe(pub-sub) with notification being delivered to the client using a push mechanism that removes the need to periodically check or poll for new information and updates.
  • All messages posted to Amazon SNS are processed redundantly around various Availability Zones to prevent the message from being lost.
  • SNS that also sends messages to users via push notifications with Baidu Cloud Push to Apple, Google, Fire OS, and Windows devices, as well as Android devices in China.
  • Amazon SNS allows you to group several recipients using topics where the subject is a logical access point that sends the same copies of the same message to the recipients who subscribes.

SNS has three major components…

Publisher

  • The entity that activates a notification (e.g. CloudWatch Alarm, Any program or events with S3)
  • Publishers are also classified as producers who create and send the logical access point to the SNS

Topic

  • The entity you post your message to
  • Subscribers sign up to receive the message
  • SNS provides 100,000 topics per account, by default (Soft limit)
  • Amazon SNS messages with the exception of SMS messages will contain up to 256 KB of text data including XML, JSON and unformatted text

Subscriber

  • It sends endpoint to a post. The message is sent to the recipient at the same time
  • Subscribers including web servers, email addresses, Amazon SQS queues, AWS Lambda functions receive a response or notification from the SNS via one of the protocols supported (Amazon SQS, email, Lambda, HTTP, SMS)
  • Subscribers sign up to receive the message
  • The SNS offers 10 million subscriptions per subject by default (Soft limit)

Amazon SQS and SNS are lightweight, fully managed message queue and topic services that scale almost indefinitely and provide quick, easy-to-use APIs. Amazon SQS and SNS can be used to decouple and scale microservices, distributed systems, and serverless applications, and improve reliability.

Benefits of SNS

  • Instant delivery

The SNS is based on deliveries based on the move. That’s the main difference between SNS and SQS. When you post the message in a thread, SNS is pushed and the message is sent to multiple subscribers.

  • The Flexibility

SNS supports various types of endpoints. Various types of endpoints will receive the message through multiple

transportation protocols like email, SMS, Lambda, Amazon SQS, HTTP, etc.

  • Incommensurable

The SNS service is very affordable because it is based on the pay-as-you-go model, i.e. you just have to pay when you use the services at no upfront expense.

  • Easy to use

SNS software is very simple to use as the Web-based AWS Management Console offers the point-and-click interface with simplicity.

  • Simple Architecture

SNS is used to simplify the design of messaging by unloading the logic filtering messages from the subscribers and routing messages from the publishers. Instead of receiving all the messages from the subject, SNS is sending the message to subscribers of their interest only.

So this is all about SNS service with a basic introduction about it, in the further blogs we are going to integrate this SNS and going to use it. hope this blog will be helpful to you.

Keep reading!!!!!!!!

--

--

Wakeupcoders - Digital Marketing & Web App Company

We make your business smarter and broader through the power of the internet. Researcher | Web developer | Internet of things | AI | www.wakeupcoders.com