Home » Cloud » How to setup an email alert for AWS Consle users logins for your AWS account step by step

How to setup an email alert for AWS Consle users logins for your AWS account step by step

Best practices are to protect your AWS account with MFA authentication – especially your root account which is most critical and has the super power rights  to all of your AWS resources

It is recommended that you set up to alerted when users logins

below is a step by step process to setup email alerts for AWS logins

  1. Create a subscription by going to the “SNS dashboard

2016-11-08-22_02_51-aws-sns

create a topic first

2016-11-08-22_04_20-aws-sns

Click on create subscription to create a new subscription

2016-11-08-22_12_39-aws-sns

The subscriptions lets you set up an end point where you can choose to get the alerts

  1.  this shows the resource ARN
  2. this is the  output format
  3. this lets you define the end point,  in this case we are using an email

2016-11-11-23_04_14-aws-sns

Once you have the subscription created then you will need to go to “Cloudwatch” to create a new rule which will then use your SNS topic to send alerts

2016-11-11-23_12_27-cloudwatch-management-console

 

here you will to do fo four steps to get the alert

  1. create a new rule and from the drop down menu choose the AWS Console login
  2. choose the ARN for the user or any user if you want to be notified for  every logins
  3. Choose SNS topic on the Targets
  4. choose the topic that you created earlier in the SNS

2016-11-11-23_16_57-cloudwatch-management-console

Click on configure details to go to the next step and name the rule

2016-11-11-23_21_46-cloudwatch-management-console

This rule will trigger the alerts and this completes the step by step process of configuring the alerts

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*