SNS
Definition
Simple Notification Service - AWS messaging service for sending notifications to multiple subscribers, enabling efficient communication and alerts.
Use Cases
- Zalando: Order and logistics event notifications to downstream services (e.g., shipping updates and operational alerts). — Zalando has publicly described using AWS messaging patterns (including SNS with other AWS services) to publish events and fan out notifications to multiple consumers and systems. (Improved decoupling between services and faster propagation of business events to multiple teams/systems, supporting scalable operations.)
- NASA: Operational notifications and alerts for cloud-based workloads. — NASA has publicly referenced using AWS services, including SNS, to distribute notifications/alerts from monitoring and automation workflows to subscribed endpoints. (Faster incident awareness and more reliable alert delivery to stakeholders, supporting operational responsiveness.)
Provider Equivalents
- AWS: Amazon Simple Notification Service (Amazon SNS)
- Azure: Azure Event Grid
- GCP: Google Cloud Pub/Sub
- OCI: OCI Notifications
Frequently Asked Questions
- What's the difference between SNS and SQS?
- SNS is a publish/subscribe service used to broadcast a message to many subscribers (fanout). SQS is a queue used to store messages until a consumer processes them, typically with one consumer processing each message. A common pattern is SNS -> SQS, where SNS broadcasts and multiple SQS queues each receive a copy for separate processing.
- When should I use SNS?
- Use SNS when you need to send the same event/notification to multiple recipients or systems—such as triggering multiple microservices, sending user notifications (email/SMS/mobile push), or fanning out events to queues and serverless functions. If you need message buffering, replay, or strict consumer processing control, pair SNS with SQS or consider a streaming platform depending on requirements.
- How much does SNS cost?
- SNS pricing is usage-based. Main cost drivers include the number of publish requests, the number of deliveries (each subscriber delivery can count), and protocol-specific charges (notably SMS, which has carrier/region-dependent rates). Costs also vary by region. Check the AWS SNS pricing page for current rates and SMS pricing details for your target countries.
Category: communication
Difficulty: intermediate
Related Terms
See Also