Connect to AWS
The guide demonstrates how to create an AWS IAM User which will be used by Metis in order to collect metrics from an AWS RDS. These metrics are used by Metis' algorithms to find, understand and fix database performance issues.
To start, go to Create IAM policy, name the new policy
MetisPolicy
, select JSON and paste the following policy:{
"Version": "2012-10-17",
"Statement":
[
{
"Action": [
"cloudwatch:GetMetricStatistics"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"rds:DescribeDBParameters"
],
"Effect": "Allow",
"Resource": "arn:aws:rds:*:*:pg:*"
},
{
"Action": [
"rds:DescribeDBClusters"
],
"Effect": "Allow",
"Resource": "arn:aws:rds:*:*:cluster:*"
}
]
}
This policy grants Read Only access to the following resources-
- RDS metadata.
- CloudWatch metrics.
- 1.

2. Attach
MetisPolicy
created in the previous step.
3. Clicking 'Next' until you reach the last step and copy the Access Key ID and Secret Access Key.

Open Metis-CLI in REPL Mode, type
aws_configure()
and enter the Access Key ID, Secret Access Key and Region from the previous step.Open Metis-CLI and type to test the AWS RDS integration.
aws_rds_get_metrics('rds-name', 'CPUUtilization', 1, 60)
Your AWS RDS database is now connected to Metis.
Last modified 3mo ago