AWS RDS Instance Enhanced Monitoring

AWS RDS Instance Enhanced Monitoring

AWS RDS instance enhanced monitoring

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed how to monitor an AWS RDS instance using CloudWatch metrics.

https://cloudaffaire.com/aws-rds-instance-monitoring

In this blog post, we will discuss AWS RDS enhanced monitoring.

Enhanced Monitoring:

AWS RDS also provides the ability to monitor the OS level metrics in the form of enhanced monitoring. The difference between normal CloudWatch monitoring and enhanced monitoring is that in case of normal monitoring, AWS RDS gather the metrics from the hypervisor for a DB instance, and Enhanced Monitoring gathers its metrics from an agent on the instance.

By default, Enhanced Monitoring metrics are stored in the CloudWatch Logs for 30 days. To modify the amount of time the metrics are stored in the CloudWatch Logs, change the retention for the RDSOSMetrics log group in the CloudWatch console.

Note: Enhanced Monitoring is available for all DB instance classes except for db.m1.small.

Next, we are going to enable ‘Enhanced Monitoring’ for our AWS RDS instance.

Prerequisites for this demo:

  • AWS RDS instance.

AWS RDS enhanced monitoring:

Step 1: Login to AWS console and navigate to ‘RDS’.

AWS RDS Instance Enhanced Monitoring

Step 2: In the navigation pane, click ‘Databases’. Select your RDS instance and click ‘Modify’.

C:\Users\user\AppData\Local\Temp\SNAGHTML996416d.PNG

Step 3: Go to the ‘Monitoring’ section and enable ‘Enhanced Monitoring’.

AWS RDS Instance Enhanced Monitoring

AWS RDS Instance Enhanced Monitoring

Step 4: To view the enhanced monitoring metrics, navigate to ‘Monitoring’ tab and from drop-down select ‘Enhanced monitoring’.

AWS RDS Instance Enhanced Monitoring

AWS RDS Instance Enhanced Monitoring

You can also view the OS level processes by selecting the ‘OS process list’ from the drop-down.

AWS RDS Instance Enhanced Monitoring

AWS RDS Instance Enhanced Monitoring

Step 5: To view the detail logs of enhanced monitoring, navigate to ‘CloudWatch’ and click ‘Logs’. Click on the log group ‘RDSOMetrics’.

AWS RDS Instance Enhanced Monitoring

Click on the log stream

AWS RDS Instance Enhanced Monitoring

Expand any of the log events and you will get details OS level metric for your RDS instance in JSON format.

AWS RDS Instance Enhanced Monitoring

Hope you have enjoyed this article, In the next blog post, we will discuss AWS RDS performance insight.

To get more details on AWS RDS, please refer below AWS documentation

https://docs.aws.amazon.com/rds/index.html

 

Leave a Reply

Close Menu