Skip to main content

What is Amazon SNS?

Understand SNS topics, publish-and-subscribe fanout, subscription filtering, delivery endpoints, and durable queue-based consumers.

What is Amazon SNS?

Amazon Simple Notification Service (Amazon SNS) is a managed publish-and-subscribe service. A publisher sends a message to a topic, and SNS delivers a copy to each matching subscription, which can include SQS queues, Lambda functions, HTTP endpoints, and supported notification channels.

How this topic fits

Messaging & events

Choose between queues, topics, event buses, and streams, then design delivery, ordering, replay, and idempotent consumers.

A topic separates publishers from subscribers

Publishers address a topic rather than every consumer. Subscribers can be added or changed without modifying the producer, which makes SNS useful for fanout when several systems need the same notification.

Name a topic for a stable business fact or distribution purpose. If unrelated message types share one topic, permissions, filtering, schemas, ownership, and incident diagnosis become harder.

Use queues for durable independent fanout

A common pattern subscribes one SQS queue per consuming workload. Each consumer then has its own backlog, concurrency, retries, and dead-letter policy while SNS performs the initial fanout.

Direct Lambda or HTTP delivery can be useful when an additional queue is unnecessary, but compare the retry, buffering, availability, and backpressure behavior before choosing the shorter path.

Filter without hiding unclear contracts

Subscription filter policies can deliver only relevant messages based on attributes or payload fields. This reduces unnecessary invocations and lets consumers express interest independently.

Filtering is not a substitute for versioned event contracts. Producers must still document fields and meaning, and consumers need a plan for new event types, missing attributes, and schema evolution.

Plan endpoint-specific delivery behavior

Retries, dead-letter support, ordering, encryption, and failure visibility vary by endpoint and topic type. FIFO topics can preserve order and deduplication when paired with compatible subscribers; Standard topics emphasize broad, flexible fanout.

Monitor failed deliveries and test subscriber outages. Publishing successfully only confirms that SNS accepted the message, not that every downstream business action completed.

Go deeper with AWS

Read the primary AWS documentation behind the service definitions and architecture guidance in this guide.

Explore serverless products

Questions about this topic

Browse all serverless concepts

Explore compute, APIs, events, workflows, data, security, reliability, operations, delivery, and AI from one connected AWS serverless learning path.

What is serverless?

Learn what serverless computing means, how it works on AWS, what the cloud provider manages, and which trade-offs still belong to your team.

Read the guide

What is AWS Lambda?

Understand how AWS Lambda runs code, how functions are invoked, where permissions and state live, and when Lambda is a good compute choice.

Read the guide

What is serverless architecture?

Learn how managed compute, APIs, events, queues, workflows, data, identity, and observability fit together in a serverless architecture on AWS.

Read the guide

AWS serverless security

A practical guide to identity, least privilege, event validation, secrets, data protection, dependencies, and incident visibility in AWS serverless systems.

Read the guide

What is agentic AI?

Learn what makes an AI system agentic, how models, tools, memory, orchestration, identity, and evaluation fit together, and where serverless patterns help on AWS.

Read the guide

What is cloud computing?

Understand how on-demand infrastructure and managed services change the way teams provision, scale, pay for, and operate software systems.

Read the guide

What is event-driven architecture?

Learn how producers, routers, and consumers communicate through events, and how to design schemas, delivery, retries, and ownership deliberately.

Read the guide

What is a serverless API?

Understand the request path, authentication, routing, compute, data, throttling, observability, and failure controls behind a serverless API on AWS.

Read the guide

What are serverless workflows?

Learn when explicit workflow state improves retries, branching, parallel work, human approval, visibility, and recovery in distributed applications.

Read the guide

What is Amazon API Gateway?

Learn how API Gateway creates, publishes, secures, monitors, and operates HTTP, REST, and WebSocket APIs for AWS and external backends.

Read the guide

What is Amazon EventBridge?

Understand EventBridge event buses, rules, pipes, schemas, targets, schedules, permissions, delivery, and recovery in event-driven AWS systems.

Read the guide

Make the next serverless decision explicit.

Explore focused products for repeatable work, or bring the architecture decision that needs context and experienced review.