A Cloud Architect Company
amazon devops guru
Amazon Web Services

How to Enable Proactive Insights with Amazon DevOps Guru for Amazon RDS

Introduction

Amazon DevOps Guru for RDS is a fully managed service that helps to analyze the performance of the Amazon Aurora MySQL-Compatible and PostgreSQL-Compatible engines. You only pay for what you use in DevOps Guru.

DevOps Guru for RDs relies on Machine Learning(ML) and advanced mathematical formulas. So it easily detects the problems before it gets more worse and also it gives solutions for the problems by analyzing the problems using machine learning feature.

proactive insight lets you know about problematic behavior before it occurs. It contains anomalies with recommendations and related metrics to help you address issues in your Aurora databases before becoming bigger problems.

Learn more about Proactive insight

In this blog we are going to know about to add DevOps Guru with Amazon Aurora RDS cluster.

Enable DevOps Guru at Region Level

First, we need to enable DevOps Guru at the regional level in our AWS Account. Go to the Amazon DevOps Guru page and click the Get Started link.

Enable Amazon DevOps Guru For RDS

  • First Choose the Monitor applications in the current AWS account choice. If you want to monitor across your organization’s level choose the first one.

  • DevOps Guru will create a new IAM role to evaluate your AWS resources.

  • For Amazon DevOps Guru analysis coverage, click the Choose later. We can configure it later. Until then It won’t analyze any of the resources and no cost occurs.

  • Click Enable button.

Enable Amazon DevOps Guru For RDS in region

Create RDS with DevOps Guru Enabled

Go to the RDS console and click Dashboard followed by Create database.

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru

To choose a database creation method, select Standard create.

For Engine options choose any one of the Aurora engines. Because right now DevOps Guru supports only Amazon Aurora Mysql-Compatible and PostgreSQL-Compatible engines.

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru Choose Type

Provide DB cluster name and username and password for database.

Read now: Upgrade MySQL version at minimal downtime

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru Enter Details

Under Instance configuration, for the DB instance class choose any class. But for type, only the g-type instance supports DevOps Guru. So, choose any g-type instances for your database cluster.

For Availability & durability, choose Don’t create an Aurora Replica for this test purpose.

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru Instance Type

  • Under the Monitoring section, Turn on Performance Insights is enabled by default. So just leave it as default. If it doesn’t enable you can’t able to enable DevOps Guru.

  • Then enable Turn on DevOps Guru.

  • For the Tag key, we need to add tags for our database. DevOps Guru will use these tags to identify the resource to be analyzed.

  • The most important thing is, the Tag key prefix should be like devops-guru-” . This isn’t case-sensitive. For example “devops-guru-default” or “DevOps-Guru-test”.

  • For Tag value, we can give anything. For now, we just leave it as default.

  • Fill in All the other details, and click Create Database button.

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru Enable Performance Insights and DevOps Guru

Wait until the database Status to Available.

Enable Amazon DevOps Guru For RDS Create Database with DevOps Guru Database Status

Now open the Amazon DevOps Guru, and you can able to see the database cluster and database instance under the System health overview section.

Now our DevOps Guru setup is ready. If any problems occur in the database DevOps Guru monitors via Performance insights. DevOps Guru analyzes the problem before it gets worse and it gives possible solutions also.

Enable Amazon DevOps Guru For RDS DevOps Guru Dashboard with RDS cluster

Enable DevOps Guru in Existing RDS Cluster

If you want to enable DevOps Guru in a existing Aurora cluster, follow the below steps to enable it.

  • In the left side panel of the RDS console click the Performance Insights link.

  • Select the Database instance which you have to enable DevOps Guru.

  • You could able to see the DevOps Guru for RDS toggle in the below screenshot. Or there will be a notification banner for Turn on DevOps Guru for RDS. You can click any one of them to enable it.

Enable Amazon DevOps Guru For RDS Turn On DevOps Guru in Existing RDS

Add tags as I mentioned in earlier steps and click Turn on DevOps Guru button.

Enable Amazon DevOps Guru For RDS Turn On DevOps Guru in Existing RDS add Tags

Now navigate to the Amazon DevOps Guru Dashboard and you can able to see your database will be shown there like the below picture.

Enable Amazon DevOps Guru For RDS Turn On DevOps Guru in Existing RDS Instance

Add notifications in DevOps Guru

In the left navigation panel of the DevOps Guru console click the Current account section.

Under Settings Notifications, Click Edit button to add notifications.

Enable Amazon DevOps Guru For RDS Add Notification in DevOps Guru

Click the Add SNS topic button.

Enable Amazon DevOps Guru For RDS Add Notification in DevOps Guru Add SNS Topic

  • To choose an SNS notification topic, select Create a new SNS topic for create a new topic. If you want to use an existing topic, select the first choice.
  • Then enter a name for the new SNS topic.
  • under the Notification configuration, choose anything for your convenience and click Save.

Enable Amazon DevOps Guru For RDS Add Notification in DevOps Guru Create New SNS Topic

Conclusion

All sets well. From now DevOps Guru will able to monitor your database by notifying you about potential operational issues before they become bigger problems. Using Amazon DevOps Guru you will pay for only what you use. Performance Insights only collect database metrics and not give any alerts if anything down. So DevOps Guru helps to alert with more detail about the problem and also gives possible solutions for them. So the problem solving time reduces from days to minutes. DevOps Guru feature is one of the best monitoring feature for Amazon Aurora RDS cluster.

Also Read: Stop and Start RDS Automatically

I hope you enjoyed reading this article… See you again in a new one.

Article written by:

Jerin is working as Cloud Automation Engineer at EasyDeploy Technologies Pvt. Ltd. He is writing terraform scripts that create multiple infrastructures on AWS, Azure cloud providers. He can understand network technologies as they relate to AWS and Azure.

Leave a Reply

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

back to top

Contact Us to save your AWS bill by 40%

X