Home / Companies / LocalStack / Blog / Post Details
Content Deep Dive

AWS Deep Dives - Amazon SNS (Simple Notification Service)

Blog post from LocalStack

Post Details
Company
Date Published
Author
Brian Rinaldi
Word Count
3,068
Language
English
Hacker News Points
-
Summary

Amazon Simple Notification Service (SNS) is a versatile publish-subscribe notification service that facilitates both internal and external communication by allowing messages to be sent to various endpoints like HTTP(S), email, mobile push notifications, and text messages. SNS supports a decoupled architecture, akin to Simple Queue Service (SQS), but enables event fan-out, where a single published event can trigger multiple independent workflows across different systems. SNS is ideal for operational alerts, external notifications, and event routing, with capabilities like retry policies and filtering to ensure relevant messages reach intended endpoints. While SNS can be used for application-to-application messaging, involving services like Lambda, SQS, and HTTP endpoints, it also supports application-to-person messaging through SMS, email, and mobile notifications, although not as robustly as dedicated services like AWS SES. With a cost structure dependent on API requests and delivery methods, SNS offers a free tier for standard topic requests and additional charges based on delivery mechanisms and features like FIFO topics, filtering, and data protection. SNS's capabilities can be tested in environments like LocalStack, where extensive API coverage is available except for managing SMS sandboxes.