Comparison lab
Amazon SQS vs Amazon SNS vs Amazon EventBridge
SQS queues work, SNS notifies subscribers, EventBridge routes events by what happened.
Picture the difference
Producer → SQS queue ← polling workers; publisher → SNS topic → subscribers; source → EventBridge bus → pattern-matching targets
| Option | What it does | Exam clue | When not to use it |
|---|---|---|---|
| Amazon Simple Queue Service (Amazon SQS) | Managed message queues that buffer asynchronous work between producers and consumers. | queue, polling, visibility timeout, FIFO, dead-letter queue | Use pub/sub for broadcasting the same message independently to multiple subscribers; a single queue distributes work among its consumers. |
| Amazon Simple Notification Service (Amazon SNS) | Managed publish/subscribe messaging that pushes a topic's messages to subscribed endpoints. | topic, pub/sub, push, fan-out, subscription | A topic by itself is not a worker-controlled queue for draining a backlog at a chosen pace. |
| Amazon EventBridge | Managed event routing service for matching application, AWS, and SaaS events and sending them to targets. | event bus, event pattern, rules, SaaS events, targets | For a pull-based backlog controlled by workers, use a queue rather than assuming an event bus acts like a work queue. |
Decision tree
- Buffer work until a consumer can poll, process, and delete it Amazon Simple Queue Service (Amazon SQS)
- Publish a notification once and push it to subscribers of a topic Amazon Simple Notification Service (Amazon SNS)
- Route structured events from different sources to targets using event patterns Amazon EventBridge
If none of these clues fit, check the exact requirement before choosing.