AWS SNS

Learn how to use pub/sub messaging to decouple systems and send notifications to multiple subscribers.

sns-config.json
{
"SNSTopic": {
"Subscription": "HTTP",
"Endpoint": "https://example.com/webhook"
}
}
sns-config.json
1 / 9
📢

Tutor:Amazon SNS (Simple Notification Service) is a fully managed pub/sub messaging service. It enables you to decouple microservices, distributed systems, and serverless applications by sending messages to multiple subscribers.


SNS Mastery

Unlock nodes by learning notification concepts.

Concept 1: SNS Basics

SNS is a fully managed pub/sub messaging service. It uses a topic-based model where publishers send messages to topics, and subscribers receive messages from topics they're subscribed to. This decouples systems and enables fan-out patterns.

System Check

What is the SNS messaging model?


Community Holo-Net

Share Your Notification Architecture

Configured SNS topics and subscriptions? Share your messaging configurations.

SNS (Simple Notification Service)

Author

Pascual Vila

Cloud Instructor.

Amazon SNS (Simple Notification Service) is a fully managed pub/sub messaging service. It enables you to decouple microservices, distributed systems, and serverless applications by sending messages to multiple subscribers.

Pub/Sub Model

SNS uses a topic-based pub/sub model. Publishers send messages to topics, and subscribers receive messages from topics they're subscribed to. Topics are logical access points that group multiple endpoints for message delivery.

Subscription Types

SNS supports multiple subscription types: HTTP/HTTPS (webhooks), Email, Email-JSON, SMS, SQS (queue), Lambda, and Application (mobile push). Each subscriber receives a copy of every message published to the topic.

Message Filtering

SNS provides message filtering, allowing subscribers to receive only messages that match specific attributes. Message filtering reduces unnecessary message delivery and can help reduce costs. SNS is highly available and durable, with messages stored redundantly across multiple Availability Zones.

SNS Glossary

SNS (Simple Notification Service)
A fully managed pub/sub messaging service that enables you to decouple microservices and distributed systems by sending messages to multiple subscribers.
Topic
A logical access point in SNS that groups multiple endpoints for message delivery. Publishers send messages to topics, and subscribers receive messages from topics.
Pub/Sub (Publish/Subscribe)
A messaging pattern where publishers send messages to topics without knowing who the subscribers are. Subscribers receive messages from topics they're subscribed to.
Subscription
An endpoint that receives messages from an SNS topic. Subscription types include HTTP/HTTPS, Email, SMS, SQS, Lambda, and Application (mobile push).
Message Filtering
A feature that allows subscribers to receive only messages that match specific attributes. Reduces unnecessary message delivery and can help reduce costs.
Dead-Letter Queue (DLQ)
An SQS queue that receives messages that couldn't be delivered to subscribers after multiple retry attempts. Helps with troubleshooting and prevents message loss.