Amazon Simple Notification Service
Application Integration · Learn this early
Sends one message to many listeners at once.
Picture it as
A WhatsApp group broadcast. One post, everyone in the group sees it.
What it actually does
SNS publishes a message to a topic. Everything subscribed gets a copy: queues, Lambda functions, emails, SMS. SQS is one to one, SNS is one to many.
Reach for it when
- One event must trigger several things
- Alerts to a team
Do not reach for it when
- You need a durable work queue. Use SQS.
One small example
A payment succeeds, so an email goes out, stock updates and analytics record it.
How you pay
Per million publishes, plus SMS charges which are not cheap.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.