Amazon Web Services Simple Notification Service (AWS SNS) is a web-based service that automates the process of sending notifications to the subscribers attached to it. It provides this service to both application-to-person and application-to-application. SNS uses the publishers/subscribers paradigm for the push and delivery of messages. The data loss is restricted by storing the data across multiple availability zones. It is cost-efficient and provides a low-cost infrastructure to users. SNS sends the notifications through SMS or email to an Amazon Simple Queue Service (SQS), AWS Lambda functions, or an HTTP endpoint. SNS has a topic that has a unique name. It acts as a logical access point and a communication channel between subscribers and publishers.
How to create a Simple Notification Service in AWS:
Step 1: Visit the Amazon SNS dashboard and Click on Create Topic button.
Step 2: Write the name of the topic and description (optional)
Step 3: Write the key value of the tag that is completely optional. Click on the option to create the topic.
Step 4: Then you will see a message: Congratulations!! the topic is created successfully.
Step 5: Go back to the SNS dashboard. The newly created topic is visible in the dashboard now. Click on the topic link.
Step 6: You will be redirected to the page shown below. Under the Subscription option, Click on Create subscription.
Step 7: Select the Protocol of the topic as the endpoint and the Email of the topic as your email id. Click on create subscription option.
Step 8: Now go to the mailbox of the mentioned email id and click on Confirm subscription option.
Step 9: You will be directed to another page where you will see this message “Your subscription is confirmed”.