What is SNS and how does fan-out with SQS work?
IntermediateConceptDNS, CDN and Messaging
Answer
SNS is a pub/sub service: publishers send to a topic, which pushes to many subscribers (SQS, Lambda, HTTP/S, email, SMS, Firehose). The fan-out pattern subscribes several SQS queues to one topic so each downstream consumer gets its own durable copy and processes at its own pace.
The queue policy must allow sns.amazonaws.com with aws:SourceArn of the topic. Use raw message delivery to skip the SNS JSON envelope.
More on DNS, CDN and Messaging
What are the Route 53 record types and why use Alias instead of CNAME?BeginnerDescribe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateHow does DNS TTL relate to failover and migrations?BeginnerWhat are Route 53 Resolver endpoints and rules?Advanced