What is SNS – Simple Notification Services?
Table of Contents
- Amazon Simple Notification Service is a web service that makes it easy to set up, operate, and send notification from the cloud.
- It provides developers with a highly scalable, flexible, and cost-effective capability to publish messages from an application and immediately deliver them to subscribers or other applications. SNS Topic and Subscribe concepts described.
Push Notifications:
- Push notifications to Apple, Google, Fire OS, and Windows devices as well as Android devices in China with Baidu Cloud Push.
Create a Topic and Subscribe?
- Let’s go and create a topic and subscribe.
- We will see the step by step process of creating the topic and subscribe.
LAB: - Go and open the AWS Management Console.
- In Find service search SNS -Simple Notification Service.
- Click on SNS.

Fig.1.0: Shows that Console search page.

Fig. 1.1: Shows that Create topic page.
- Click the Next step to Create a topic.
- Give Name, Display name.
- Tags give tag names and values.
- Leave all options as default.

Fig.1.2: Shows that Create topic page.
- Click on Create topic.
Fig.1.3: Shows that topic created page.
- Topic suggestcloud_123 created successfully.
- Click on Create subscription.
Fig.1.4: Shows that Create subscription.
Fig.1.5 shows that the subscription page.
- Give protocol as Email.
- Endpoint as an Email address.
- Click on Create subscription.
- You will get mail.
Fig.1.7: Shows that AWS Notification page.
- Click on Confirm Subscription.
Fig.1.6: Shows that Subscription confirmed
- You will get a subscription confirmed page.
SNS concept uses in Auto Scaling. Check this blog: Create Auto Scaling Group and Launch EC2 with Load Balancer
:
Conclusion:
- SNS is push-based (no polling).
- Simple APIs and easy integration with applications.
- Inexpensive, pay-as-you-go model with no up-front costs.
- SNS Topic and Subscribe used in Auto Scaling.