ECS prometheus metrics to Apica Ascent
IAM policy for the ECS task
{
"Statement": [
{
"Action": [
"ecs:List*",
"ecs:Describe*"
],
"Effect": "Allow",
"Resource": [
"arn:aws:ecs:<region>:<account-id>:cluster/<ecs-cluster-name>",
"arn:aws:ecs:<region>:<account-id>:task/<ecs-cluster-name>/*"
]
},
{
"Action": [
"ecs:ListClusters",
"ecs:ListTasks",
"ecs:DescribeTasks",
"ecs:DescribeTaskDefinition",
"ecs:DescribeContainerInstances"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::<s3-bucket-name>",
"arn:aws:s3:::<s3-bucket-name>/*"
]
}
],
"Version": "2012-10-17"
}Prometheus containers

Last updated
Was this helpful?