Steps to configure E-mail notification for EC2 instance

In this blog, we will show you the steps to configure E-mail notification for EC2 Instance in AWS.

ENVIRONMENT OVERVIEW

 

  • We created a t2, micro EC2 windows instance for this demo.

Steps to configure E-mail notification for EC2 instance

 

CREATING SNS (SIMPLE NOTIFICATION SERVICE) TOPIC

  • Login in to your AWS account and search for SNS service.

Steps to configure E-mail notification for EC2 instance

 

  • Select the Topics option.

 

  • Click on Create Topic button.

 

  • Provide the Name and Display Name and click on Create topic.

 

  • Under Subscription topic, select the Create subscription option.

 

  • From the create subscription window, select the protocol as E-mail from the drop-down list.

 

  • Provide your e-mail address and click on create the subscription.

 

  • You will receive a confirmation E-mail to your inbox. Click on the confirm subscription link.

 

  • Once you confirmed the subscription, the status will be changed to confirmed in SNS.

 

CREATING RULES IN CLOUDWATCH

 

  • From the services page, search for cloudwatch.

Steps to configure E-mail notification for EC2 instance

 

  • Select the Rules link and click on create rule button.

 

  • Under Event Source, select the service name as EC2 and event type as EC2 Instance State-change Notification.

Steps to configure E-mail notification for EC2 instance

 

  • We select EC2 state as stopped and terminated for the drop-down list.

Steps to configure E-mail notification for EC2 instance

 

  • In the target section, click on Add target.

Steps to configure E-mail notification for EC2 instance

 

  • From the drop-down list, select SNS topic and select our newly created topic.

Steps to configure E-mail notification for EC2 instance

 

  • Review all the selected settings and click on Configure details. Provide the name and description for this rule and click on create rule button.

Steps to configure E-mail notification for EC2 instance

 

  • The rule created successfully.

Steps to configure E-mail notification for EC2 instance

 

VERIFICATION

 

  • For testing purpose, Goto EC2 Instance page, and shut down the machine.

Steps to configure E-mail notification for EC2 instance

 

  • Once the instance state has been changed to stop, you will receive the notification mail to your inbox.

Steps to configure E-mail notification for EC2 instance

REFERENCE

E-mail Notification

Thanks for reading this blog. We hope it was useful for you to learn about the steps to configure E-mail notification for EC2 instance

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn
More Interested Related Posts

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support