Amazon SNS is a fully managed Serverless solution from AWS. A message publishing and processing service. As it’s a serverless solution, with automatic scaling. Also allows fanout to millions of consumers. SNS topics can be an event topic and consumers can subscribe to that topic.
It is recommended to use a standard topic (High Throughput) . For Security enable Encryption , SNS support in-transit encryption by default but enabling SSE helps to encrypt the topic at-rest
Enable Redrive Policy to send undeliverable messages to a dead-letter queue(resiliency).
Watch a 10 min intro from aws.training
- SNS support notification up to 12,500,000 per topic and 100,000 topics.
- Subscribers can be HTTP(S), SMS, SNS Mobile Push, Email/Email-JSON, SQS, Lambda functions.
- Pub / Sub Messaging
- SNS can create public topics
- SNS Supports Message archiving and analytics
- SNS is serverless –Do not have to worry about scaling out
- Message security Server-side encryption protects the contents of messages that are stored in Amazon SNS topics, using encryption keys provided by AWS KMS
- Redrive policy (dead-letter queue) – optional, can Send undeliverable messages to a dead-letter queue.
|Links||What you learn|
|A Cloud Guru||Create an SNS Topic,Create a Lambda Function , Send Your SNS Topic to Multiple Endpoints|
|whizlabs.com||Creating and Subscribing to SNS Topics, Adding SNS event for S3 bucket|
|AWS Workshop||Debug serverless applications with Lumigo , Applied Observability for Modern Applications with Epsagon|
|CloudAcademy||Amazon SNS Image Resizing Challenge|