< Back

Integration: AWS RDS Event

You need to set up an Amazon SNS topic for this integration!

AWS RDS provides relational databases such as MySQL. RDS Events provide notifications when an RDS event occurs. An event can be the start of an automated backup, a Multi-AZ failover, or much more.

Monitoring Multi-AZ failovers

You can run the RDS database instance in Multi-AZ mode. Multi-AZ will use two virtual machines to host your database. If the primary goes down, AWS will failover to the secondary. But this will take up to 5 minutes. You may want to know about this event because it will cause connection errors in your applications.

Creating an RDS Event Subscription

  1. Visit https://console.aws.amazon.com/rds/home?region=us-east-1
  2. Click on the Event Subscriptions link on the left
  3. Click on the Create Event Subscription button
  4. Set a Name, e.g. marbot
  5. Set Send notifications to marbot or your other SNS topic name
  6. Set Source Type to Instances
  7. Set Event Categories to failover (you could select other events depending on your needs as well)
  8. The other fields can stay as they are
  9. Save by clicking the Create button.
    Creating an RDS Event Subscription

I recommend to listen to the following Event Categories.

Database instance

  • notification
  • failover
  • failure
  • low storage
  • recovery
  • maintenance

Database cluster

  • failover
  • failure
  • notification

Sample Alert

You can simulate a failover by rebooting the RDS instance with the Reboot With Failover option enabled.
Simulate RDS failover

You should receive an alert in Slack:

RDS Alert

More help needed? Or want to share feedback?

If you experience any issues, let us know.

E-mail icon
E-Mail
marbot teaser

Chatbot for AWS Monitoring

Configure monitoring for Amazon Web Services: CloudWatch, EC2, RDS, EB, Lambda, and more. Receive and manage alerts via Slack. Solve incidents as a team.

Slack
Add to Slack
Microsoft Teams
Add to Teams