Monitor AWS SES Bounce rates with an email alert when limit is hit

Problem:

When moving email services to SES you are allowed a maximum of a 10% email bounce rate before your account is paused.  You therefore need an alerting system to allow you to fix any issues proactively.

Solution:

1. Create a new SNS topic by going to SNS and then click Create topic

Monitor AWS SES Bounce rates with an email alert when limit is hit

2. Enter the details for your topic and then click create topic

Monitor AWS SES Bounce rates with an email alert when limit is hit-2

3. Open your new topic and click create subscription

Monitor AWS SES Bounce rates with an email alert when limit is hit-3

4. Choose Email as the protocol and enter an email address for the alerts

Monitor AWS SES Bounce rates with an email alert when limit is hit-4

5. You should see a success alert

Monitor AWS SES Bounce rates with an email alert when limit is hit-5

6. You will then be sent an email where you have to confirm the Subscription

Monitor AWS SES Bounce rates with an email alert when limit is hit-6

Monitor AWS SES Bounce rates with an email alert when limit is hit-7

7. Open the Cloudwatch console and click Alarms and click Create Alarm

Monitor AWS SES Bounce rates with an email alert when limit is hit-8

8. Click Select metric

Monitor AWS SES Bounce rates with an email alert when limit is hit-9

9. Select SES

Monitor AWS SES Bounce rates with an email alert when limit is hit-10

10. Click Account Metrics

Monitor AWS SES Bounce rates with an email alert when limit is hit-11

11. Select Reputation.BounceRate and click Select Metric.

Monitor AWS SES Bounce rates with an email alert when limit is hit-12

12. You should see the Metric box populate some data

Monitor AWS SES Bounce rates with an email alert when limit is hit-13

13. Give the Alarm a name and change the bounce rate to the level you want to alert on. The limit is 10% before the account will be pause so going for something like 3-5% would be wise to take action. Set Treat missing data as ignore.

Monitor-AWS-SES-Bounce-rates-with-an-email-alert-when-limit-is-hit-14

14. Set Whenever this alarm to State is ALARM, Send notification to the SNS subscription you just created and select the email list, then click Create Alarm.

 

 

Leave a Reply

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