02 - SNS Flashcards Preview

AWS-CDA-2019-08 - Other Services > 02 - SNS > Flashcards

Flashcards in 02 - SNS Deck (6):
1

Simple Notification Service (SNS)

Simple Notification Service (SNS)

  • Used for auto-scaling notification
  • Instantaneous, push based delivery (no polling)
  • Follows the Pub-Sub model whereby users subscribe to topics
  • In-expensive, pay as you go with no up front costs. Has a point and click interface

2

SNS vs SQS

SNS vs SQS

  • Both messaging services in AWS
  • SNS = Push
  • SQS = Polls (Pulls)

3

SNS Pricing

SNS Pricing

  • $.50 per 1 million Amazon SNS Requests
  • $.06 per 100,000 notification deliveries over HTTP
  • $.75 per 100 notification deliveries over SMS
  • $2.00 per 100,000 notifications over Email

4

Sending Email

  • Sending email is in JSON format

5

SNS Other Topics

  • SNS consists of Topics
  • Inside each Topic you have different Subscribers
  • Each subscription method can be a different protocol
  • Instantaneous push based delivery (no polling)
  • Flexible message delivery over multiple transport protocols
    • HTTP
    • HTTPS
    • Email
    • Email-Json
    • Amazon SQS
    • Application
  • Messages can be customized for each protocol

6

SNS Delivery Methods

SNS Delivery Methods

  • SMS text message
  • Email
  • SQS
  • HTTP / HTTPS endpoints
  • Lambda Functions (invoked with the payload of the published message)
    • Receives the message payload as an input parameter
    • It can manipulate the information in the message
    • Publish the message to another SNS topic
    • Or send the message to another AWS service