Introduction to Amazon SQS, Amazon SNS and Amazon EventBridge
Queues, pub/sub topics and event buses that decouple application components.
- 3 lessons
- Module quiz
When application components call each other directly, a slow or failed component affects every component that depends on it, and all of them must scale together. Decoupling components with messaging services makes architectures more resilient and lets each component scale independently.
AWS offers three messaging services for different patterns. Amazon SQS queues messages that consumers pull and process at their own pace, absorbing bursts. Amazon SNS pushes each message to many subscribers at once. Amazon EventBridge routes events by their content to many targets, and receives events from AWS services and SaaS applications.
What the exam expects
Questions test choosing the service for a pattern: SQS to decouple components and buffer work, SNS fan-out to SQS queues for parallel processing by several consumers, and EventBridge for content-based routing and reacting to events from AWS services.
How this module is organised
Decoupling and Buffering with Amazon SQS explains queues, queue types and common patterns. Fanning Out Messages with Amazon SNS explains topics, subscriptions and the fan-out pattern. Routing Events with Amazon EventBridge explains event buses, rules and targets.