DEV Community

Cover image for An Intro to Amazon Simple Notification Service (SNS)

An Intro to Amazon Simple Notification Service (SNS)

Amazon SNS - Simple Notification Service

Alt Text

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).
Features

Watch a 10 min intro from aws.training

Table of Contents

Features

  • 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.

Hands On Lab Links

🔗 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

Discussion (0)