RDS Enhanced Monitoring: How to Check and Enable it on AWS
Learn how to check and enable Enhanced Monitoring on RDS instances. View real-time metrics and catch issues early with our step-by-step guide
Learn how to check and enable Enhanced Monitoring on RDS instances. View real-time metrics and catch issues early with our step-by-step guide
Amazon RDS is a popular service that allows organizations to efficiently operate and scale a relational database in the AWS Cloud. If you are using RDS DB instances, monitoring their performance could be business-critical.
Enhanced Monitoring is a feature that enables organizations to collect more frequent, real-time metrics about the operating system that your DB instances run on.
These metrics are displayed in your Amazon CloudWatch Logs account and available to be used to identify potential failures, overloads, and anomalies. Enhanced monitoring adds more layers of reliability, availability, and performance to your existing AWS monitoring features and capabilities.
You can tell that an instance does not have Enhanced Monitoring turned on if its monitoring interval is set to 0. The monitoring interval indicates how many seconds go by between collecting Enhanced Monitoring metrics.
To find RDS instances that have Enhanced Monitoring turned off, you can use this AWS CLI command that uses a JMESPath expression:
The output of this command lists the identifier and status for each applicable instance.
Now that you know which instances do not currently have enhanced monitoring turned on, you can modify them to turn it on.
To enable Enhanced Monitoring for RDS instances with the AWS CLI, you need an IAM role that has the necessary permissions. If you don’t already have a role for this, you can create one in the IAM console. Here’s how:
This IAM role grants Enhanced Monitoring permissions to act on your behalf to send automated OS metric information to CloudWatch Logs.
To turn on Enhanced Monitoring, there are two modifications you need to make:
For Linux, macOS, or Unix:
For Windows:
If you are using a Multi-AZ DB cluster instead, enabling Enhanced Monitoring requires a different command.
For Linux, macOS, or Unix:
For Windows:
Once you have turned on Enhanced Monitoring, you’ll have real-time visibility into the performance of your RDS instances.
You can run this check every now and again, but by the time you realize you don’t have enhanced monitoring enabled on a new instance, you will have missed out on collecting metrics for a period of time.
With Blink, you can run this automation regularly to detect RDS instances without Enhanced Monitoring enabled.
When this automation runs, it executes the following actions:
You can import this automation from the Blink library and customize it however you like. For example, you could add an action to enable Enhanced Monitoring for resources not already enabled pending someone’s approval in Slack.
In Blink, you can also create automations from scratch to meet your team’s unique needs using the hundreds of drag-and-drop actions available from a wide range of tools.
Get started with Blink today and see how easy automation can be.
Blink is secure, decentralized, and cloud-native. Get modern cloud and security operations today.