Simple Notification Service
On This Page
About
Amazon Simple Notification Service (Amazon SNS) is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication.
SNS is a fully managed messaging service for both system-to-system & app-to-person (A2P) communication.
Amazon SNS can also send notifications via SMS text message, email, SQS queues or to any HTTP endpoint.
Amazon SNS notifications can also trigger Lambda functions.
Amazon SNS is inexpensive and based on a pay-as-you-go model with no upfront costs.
Alternatives
- Airship
- Apple Push Notification
- Beamer
- Drift
- Expo
- Firebase FCM
- MagicBell
- OneSignal Push
Terminology
SNS Topics
A topic is an “access point” for allowing recipients to dynamically subscribe for identical copies of the same notification.
An SNS topic is a named communication channel.
SNS Subscribers and Endpoints
When subscribing to an SNS topic the following endpoint types are supported:
- HTTP/HTTPS
- Email/Email-JSON
- Amazon Kinesis Data Firehose
- Amazon SQS
- AWS Lambda
- Platform application endpoint (mobile push)
- SMS
Topic types:
- Standard Topics
- FIFO Topics
Price
Use Cases
Type: Application integration
Same type services: SNS, SQS, AppSync, EventBridge
Example: Send email notification when CloudWatch alarm is triggered
Practice
Process Amazon SNS Notifications with AWS Lambda
Questions
Q1
You’ve decided to use autoscaling in conjunction with SNS to alert you when your auto-scaling group scales. Notifications can be delivered using SNS in several ways.
Which options are supported notification methods? (Choose 3 answers)
- HTTP or HTTPS POST notifications
- Email using SMTP or plain text
- Kinesis Stream
- Invoking of a Lambda function