Amazon Simple Notification Service (SNS)

Amazon SNS or Amazon Simple Notification Service is a cloud-hosted service to send messages or notifications. The web service gives customers the ability to publish messages from an application and send them to subscribers or to other applications.

Amazon SNS uses the Pub-Sub (Publish/Subscribe) messaging philosophy. In a Publish/Subscribe model, messages are pushed to all subscribers of a given topic, unlike other systems that regularly check for updates before sending the message.

Pub/Sub Messaging

Pub/Sub Messaging Model

Sending and receiving messages is not only useful for humans (mobile messaging or SMS), but it’s also useful to address a wide variety of needs.

For example, a message can be triggered when inventory falls below a threshold, you can get an automatic notification before a provider makes a delivery attempt, and so on. Not just from system to human, notifications can be useful for application to application interactions as well.

How does Amazon SNS work?

Developers must create an access point. AWS calls it a “topic”. TThe topic is then used to identify a specific subject or a trigger event that’s needed to publish messages.

After creating the topic, the customer then writes the rules that define who publishes the messages, who subscribes to receive the notifications and notification protocols that will be supported
(i.e. HTTP/HTTPS, email, SMS).

Once the set up is done, publishers can publish a message to the topic, which triggers Amazon SNS to push the message to all subscribers.

Who is a Subscriber?

Subscribers can be anyone who wants to receive notifications from topics of interest.

Worldwide SMS

Amazon SNS can be used to deliver text messages (SMS) in more than 200 countries. If required by local regulation, publishers must get permission from recipients to deliver SMS to their phones. SNS still does not support two-way SMS capability.

According to AWS, “SMS messages that carry marketing messaging should be marked Promotional. Amazon SNS ensures that such messages are sent over routes that have a reasonable delivery reliability but are substantially cheaper than the most reliable routes”.

How much does Amazon SNS cost?

As is the case with cloud based services, there is no upfront payment or minimum fee associated with Amazon SNS. Pricing is as follows

  • $0.50 per 1 million Amazon SNS Requests

  • 0.06 per 100,000 notification deliveries over HTTP

  • $2.00 per 100,000 notification deliveries over email

Free Tier:

  • Users can send 100 free notifications

  • 100,000 notifications over HTTP

  • 1,000 notifications over email

Pricing for sending SMS message vary by country and regions. Please check the SMS Pricing Page for more details. As of today, messages carrying marketing content costs $0.00645, other messages cost $0.00645 in the United States.

SMS Pricing in the United States; Screenshot

Data Transfer IN
All data transfer in$0.00 per GB
Data Transfer OUT***
Up to 1 GB / Month$0.00 per GB
Next 9.999 TB / Month$0.09 per GB
Next 40 TB / Month$0.085 per GB
Next 100 TB / Month$0.07 per GB
Greater than 150 TB / Month$0.05 per GB
Endpoint TypeFree TierPrice
Mobile Push Notifications1 million$0.50 per million
Worldwide SMS100Learn more
email/email-JSON1,000$2.00 per 100,000
HTTP/s100,000$0.60 per million
Simple Queue Service (SQS)No charge for deliveries to SQS Queues
Lambda functionsNo charge for deliveries to Lambda