SNS – Simple Notification Services create a topic and subscribe

SNS – Simple Notification Services Create a Topic and Subscribe

 What is SNS – Simple Notification Services?

  • 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.

SNS Topic and Subscribe
SNS Topic and Subscribe

Fig.1.0: Shows that Console search page.


create a topic and subscribe
create a topic and subscribe

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.

SNS Topic and Subscribe
SNS Topic and Subscribe

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


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. 

 

Learn Oracle DBA Concept. 

Leave a Reply

%d bloggers like this: