AWS Simple Notification Service(SNS)

amazon-aws-logo

                                    In this article we will see how to setup AWS Simple Notification Service(SNS) to send the push notifications to various devices/protocols. The AWS SNS delivers the SMS to subscribed mobiles devices, pushes to messages to HTTP/HTTPS end points,  as an Email message or pushes the message to SQS(Simple Queue Service). Now, we will see hoe to setup and configure the SNS through the AWS console.

Step 1: From the AWS console choose the SNS.

AWS SNS_1

Step 2: Click on “Create New Topic” and provide the topic name.

AWS_SNS_2

Step 3: Click on “Create Subscription” and choose the protocol. In this case we want to SNS notification to HTTP end point and provided the HTTP end point details as well.

AWS_SNS_3

Step 4: After the subscription, the confirmation message will be sent to the subscribed end point. Click on the “SubscribeURL” to confirm the subscription. On the AWS console you will see the subscriber.

AWS_SNS_5

Step 5: By now, the topic and the subscriber setup is ready. Its time to publish the message. Click on the “Publish” button from the AWS SNS console and provide the necessary details.

AWS_SNS_6

Step 6: The subscriber has received the published message. Look at the end point console.

AWS_SNS_7

For further information, go through this. Happy Cloud Computing !!!

Siva Janapati is an Architect with experience in building Cloud Native Microservices architectures, Reactive Systems, Large scale distributed systems, and Serverless Systems. Siva has hands-on in architecture, design, and implementation of scalable systems using Cloud, Java, Go lang, Apache Kafka, Apache Solr, Spring, Spring Boot, Lightbend reactive tech stack, APIGEE edge & on-premise and other open-source, proprietary technologies. Expertise working with and building RESTful, GraphQL APIs. He has successfully delivered multiple applications in retail, telco, and financial services domains. He manages the GitHub(https://github.com/2013techsmarts) where he put the source code of his work related to his blog posts.

Tagged with: , , ,
Posted in Cloud Computing
2 comments on “AWS Simple Notification Service(SNS)
  1. Mohit Agrawal says:

    Any idea how to send SMS to particular mobile number

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

DZone

DZone MVB

Java Code Geeks
Java Code Geeks
%d bloggers like this: