SNS

  • Pub/sub patternPasted image 20221006165213.png
  • Can have as many receveivers.
  • Up to 12,500,000 subscriptions per topics
  • 100,000 topics limit

Pasted image 20221006165748.png
Pasted image 20221006165759.png

Topic Publish vs Direct Publish

  • Topic Publish (SDK)
    • Create topic
    • Create subscription(s)
    • Publish topic
  • Direct Publish
    • Create platform application
    • Create platform endpoint
    • Publish to platform endpoint
    • Works with Google GCM, Apple APNS, Amazon ADM

Security

  • Encryption
    • HTTPS in-flight encryption
    • KMS keys encryption at rest
    • Client-side encryptions
  • Access controls:
    • IAM
  • SNS Access Policies
    • Useful for cross-account access
    • Allow other services to write into your SNS topic