SNS in account A publishes successfully, but the SQS queue in account B never receives anything.
IntermediateTroubleshootingRoute 53, CloudFront, API Gateway and Messaging
Answer
Likely causes → The SQS queue policy does not allow sqs:SendMessage from sns.amazonaws.com with aws:SourceArn set to the topic. The queue uses SSE with the AWS managed key aws/sqs, which SNS cannot use. Or the cross-account subscription was never confirmed.
Diagnose →
aws sqs get-queue-attributes --queue-url <url> --attribute-names Policy KmsMasterKeyId
aws sns list-subscriptions-by-topic --topic-arn <topic-arn>
# SNS delivery status logging / NumberOfNotificationsFailed metric on the topic
Fix →
- Add a queue policy statement that allows
sns.amazonaws.comwith"ArnEquals":{"aws:SourceArn":"<topic-arn>"} - Switch the queue to a CMK whose key policy allows
sns.amazonaws.comto usekms:GenerateDataKey*andkms:Decrypt, or to SSE-SQS - Confirm the subscription from account B
Prevent → Use a reusable cross-account fan-out module, and alarm on NumberOfNotificationsFailed.
More on Route 53, CloudFront, API Gateway and Messaging
You created a public hosted zone and records for `example.com`, but `dig example.com` returns `NXDOMAIN` or old records.Beginner`InvalidChangeBatch: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.`BeginnerThe primary Region is down, but Route 53 failover records still send traffic to it.IntermediateA Route 53 health check reports `Failure: Connection timed out` for an endpoint that works fine from your laptop.IntermediateYou changed an A record an hour ago, but some users still reach the old server, and a newly created name returned `NXDOMAIN` for a while.AdvancedCloudFront returns `403 AccessDenied` (S3 XML) for every object after you switched the S3 origin to Origin Access Control.Intermediate