AWS is a Cloud Computing platform that strives to help businesses develop and profit by providing a diverse set of services. They may store, view, and manage their business data on this platform while keeping it safe from illegal access and if someone who is interested in beginning an AWS career now will still be a highly appealing option in the future. So join AWS Training in Chennai will enhance your technical skills in AWS Domain. Here, in this blow we will discuss about AWS simple notification service.
What is Amazon Social Networking Service (Amazon SNS)?
Amazon SNS (Amazon Simple Notification Service) is a managed service that delivers messages from publishers to subscribers (also known as consumers and producers). Publishers communicate with subscribers asynchronously by sending messages to a topic, which serves as a logical access point and communication route for subscribers. Clients can subscribe to the SNS topic and receive published messages through any supported endpoint, including Amazon Kinesis Data Firehose, AWS Lambda, email, HTTP, Amazon SQS, mobile push notifications, and mobile text messaging (SMS).
Features And Capabilities:
The following are some of the features and capabilities offered by Amazon SNS:
Messaging From One Program To Another
Amazon Kinesis Data Firehose delivery streams, Lambda functions, Amazon SQS queues, HTTP/S endpoints, and AWS Event Fork Pipelines are all supported by application-to-application messaging. See Using Amazon SNS for application-to-application (A2A) messaging for further details.
Application-to-person alerts send user notifications to subscribers with mobile apps, phone numbers, or email addresses. See Using Amazon SNS for application-to-person (A2P) messaging for further information.
Topics That Are Standard And Those That Are FIFO
To enforce precise message ordering, specify message groups, and avoid message duplication, use a FIFO topic. A FIFO topic can only be subscribed to by Amazon SQS FIFO queues. See Message ordering and deduplication for additional information (FIFO topics).
When message delivery order and possibly message duplication aren’t crucial, use a standard subject. A standard subject can be subscribed to by any of the supported delivery mechanisms.
To ensure message persistence, Amazon SNS employs a number of mechanisms that operate together:
- Messages that have been published are stored on numerous servers and data centres that are geographically isolated.
- Amazon SNS uses a delivery retry strategy if a subscribed endpoint isn’t available.
- You can build a dead-letter queue to save any messages that aren’t delivered before the delivery retry policy expires.
Message Archiving And Analytics
Kinesis Data Firehose delivery streams can be subscribed to SNS topics, allowing you to send notifications to additional archiving and analytics endpoints including Amazon Simple Storage Service (Amazon S3) buckets, Amazon Redshift tables, and more.
Message attributes allow you to add any kind of metadata to a message. Attributes of Amazon SNS messages
Every subscriber receives every message sent to the topic by default. A subscriber must apply a filter policy to the subject subscription in order to get only a portion of the messages. When the incoming message attributes match the filter policy attributes, the message is delivered to the subscribed endpoint. Otherwise, the message will be ignored. See Amazon SNS message filtering for further information.
Using encryption keys given by AWS KMS, server-side encryption protects the contents of messages saved in Amazon SNS topics. See Encryption at Rest for further details.
A private connection between Amazon SNS and your virtual private cloud can also be established (VPC). See Internetwork traffic privacy for further information.