Categories

1 Answer

Sep 6, 2019
What is SNS?

SNS stands for Simple Notification Service.

It is a web service which makes it easy to set up, operate, and send a notification from the cloud.

It provides developers with the highly scalable, cost-effective, and flexible capability to publish messages from an application and sends them to other applications.

It is a way of sending messages. When you are using AutoScaling, it triggers an SNS service which will email you that "your EC2 instance is growing".

SNS can also send the messages to devices by sending push notifications to Apple, Google, Fire OS, and Windows devices, as well as Android devices in China with Baidu Cloud Push.

Besides sending the push notifications to the mobile devices, Amazon SNS sends the notifications through SMS or email to an Amazon Simple Queue Service (SQS), or to an HTTP endpoint.

SNS notifications can also trigger the Lambda function. When a message is published to an SNS topic that has a Lambda function associated with it, Lambda function is invoked with the payload of the message. Therefore, we can say that the Lambda function is invoked with a message payload as an input parameter and manipulate the information in the message and then sends the message to other SNS topics or other AWS services.

Amazon SNS allows you to group multiple recipients using topics where the topic is a logical access point that sends the identical copies of the same message to the subscribe recipients.

Amazon SNS supports multiple endpoint types. For example, you can group together IOS, Android and SMS recipients. Once you publish the message to the topic, SNS delivers the formatted copies of your message to the subscribers.

To prevent the loss of data, all messages published to SNS are stored redundantly across multiple availability zones.

SNS Publishers and Subscribers

SNS

Amazon SNS is a web service that manages sending messages to the subscribing endpoint. There are two clients of SNS:

Subscribers

Publishers

SNS

Publishers

Publishers are also known as producers that produce and send the message to the SNS which is a logical access point.

Subscribers

Subscribers such as web servers, email addresses, Amazon SQS queues, AWS Lambda functions receive the message or notification from the SNS over one of the supported protocols (Amazon SQS, email, Lambda, HTTP, SMS).
Click here to read more about Amazon Web Services
Click here to read more about Insurance

Related questions

Madanswer
Sep 6, 2019 in AWS
Sep 6, 2019 in AWS
Sep 6, 2019 in AWS
...