Hi all, this document deals with how to set up AWS SNS for CloudWatch or any other email services.
AWS SNS is a simple notification service for sending or pushing messages from software applications to subscribing endpoints and clients. Amazon SNS is warehoused across several availability zones to prevent loss.

Here I will show you how to create an SNS service to send Emails.

Prerequisites

AWS account with SNS privileges.

Setup

Step 1. From AWS console navigate to simple notification service.
Step 2. From SNS Create a Topic, Topic is a channel to send messages and subscribe to notifications.
Step 3. Click on Create Topic – Enter topic name and description as shown in below image.


Step 4. Note Down the ARN which is required for created subscription
To receive messages published to a topic, you have to subscribe an endpoint to that topic. An endpoint is a mobile app, web server, email address, or an Amazon SQS queue that can receive notification messages from Amazon SNS. Once you subscribe an endpoint to a topic and the subscription is confirmed, the endpoint will receive all messages published to that topic.


Step 5. Now click on subscription, create new subscription – and paste the topic ARN and select the protocol,
Here I’m using Email as I need to send alerts to system admins from cloud watch.
Step 6. Enter the endpoint which you need to send the notifications.
That’s it now you have successfully created SNS topic and subscription, check the next document how to create Alarm in CloudWatch and send alerts using SNS.

© 2018, Techrunnr. All rights reserved.

#1
#2
#3
Questions Answered
Articles Written
Overall Points
Categories: AWScloudwatchSNS

Prabhin Prabharkaran

He is Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!!

Leave a Reply

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.