Monitor Aurora Database
Amazon Aurora is a cloud-native relational database engine and it is compatible with both MySQL and PostgreSQL. The metrics of Aurora DB are gathered by sfPoller and displayed within the dashboard of SnappyFlow.
To collect metrics of Aurora DB, it is necessary to have an IAM Role with CloudWatch access and sfpoller set up within your AWS environment.
Click here to learn more about setting up sfpoller in your AWS environment.
Create a Policy to Access CloudWatch
Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/.
Follow the below steps to create a policy in the IAM console.
Navigate to Access Management > Policies
In the Policies window, click the
In the Create policy window, go to the JSON tab
Copy and paste the below-mentioned JSON code into the policy editor
In the Review policy window, give the Name:
CloudWatchReadOnlyAccessand Description (Optional) for the policy and review the list of permissions.
- Attach the
CloudWatchReadOnlyAccesspolicy to a dedicated IAM Role for read-only access.
Collect Metrics and Logs
Start collecting metrics and logs from Aurora-PostgreSQL and Aurora-MySQL.