Monitor Aurora with CloudWatch metrics, alarms, and SNS

Andreas Wittig – 23 Jul 2018

Besides traditional database engines like PostgreSQL, MySQL, MariaDB, Oracle, and Microsoft SQL Server, AWS offers a cloud-optimized database engine as well: Amazon Aurora. The main benefits of Aurora are performance, reliability, and scalability. Because Aurora is a fully managed service, there are only a few things you have to monitor.

CloudWatch metrics

Each cluster sends metrics to CloudWatch that we can monitor with CloudWatch alarms. We recommend creating alarms for the following metrics:

  • CPUUtilization: The percentage of CPU used by an Aurora DB instance.
  • CPUCreditBalance: The number of CPU credits left (only applies to db.t* instance types).
  • FreeableMemory: The amount of available random access memory in MB.

Events via SNS

Besides metrics, RDS sends out events if the state of the database instance has changed. E.g., because of a failover.

We recommend subscribing to events of the following categories:

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

Set up instructions

Monitoring Setup Assistant
Monitor Aurora and receive alerts in Slack or Microsoft Teams!

  1. Add marbot to Slack or Microsoft Teams.
  2. Invite marbot to a channel.
  3. In the channel, type:
    @marbot Monitor Aurora
  4. Hit enter and follow the wizard.
Andreas Wittig

Andreas Wittig

Consultant focusing on Amazon Web Services (AWS). Entrepreneur building marbot.io. Author of Amazon Web Services in Action, Rapid Docker on AWS, and cloudonaut.io.

You can contact me via Email, Twitter, and LinkedIn.

Published on

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