Amazon Simple Notification Service (SNS)
VishvaJeet Singh
Data Architect & Engineer | Driving Digital Transformation through Advanced Data Management Strategies
Amazon Simple Notification Service (SNS) is a durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Amazon SNS provides topics for high-throughput, push-based, many-to-many messaging. Using Amazon SNS topics, your publisher systems can fan out messages to a large number of subscriber endpoints for parallel processing, including Amazon SQS queues, AWS Lambda functions, and HTTP/S webhooks. You can get started with Amazon SNS in minutes by using the AWS Management Console, AWS Command Line Interface (CLI), or AWS Software Development Kit (SDK). It provides developer with highly scalable, flexible and cost-effective capability to publish messages from an application and immediately deliver them to subscribers or the other application.
Push notification to Apple, Google, Fire OS and Windows devices.
Besides pushing cloud notifications directly to mobile devices, Amazon SNS can also deliver notification by SMS text messages or email to AWS SQS queue or any HTTP endpoint.
SNS can also trigger lambda function.
SNS allows you to group multiple recipients using topics. A topic is an "access point" for allowing recipients to dynamically subscribe for identical copies for the same notification.
To prevent messages from being lost all messages published to AWS SNS are stored redundantly across multiple AZ.
SNS Benefits
- Instantaneous push-based delivery(no polling)
- Simple API and easy integration with application
- Flexible message delivery over multiple transport protocols
- inexpensive pay-as-you-go model with no up-front cost
- Web-based AWS management console offers the simplicity of a point-and-click interface
SNS VS SQS
Both messaging service in AWS.
SNS-Push
SQS-Pulls
Amazon SES(Simple Email Service)
Amazon Simple Email Service (Amazon SES) is a cloud-based email sending service designed to help digital marketers and application developers send marketing, notification, and transactional emails. It is a reliable, cost-effective service for businesses of all sizes that use email to keep in contact with their customers.
Can also be used to receive email: incoming mails can be delivered automatically to an S3 bucket and incoming mails can be used to trigger Lambda function and SNS notification.