D
D
Dimaste2020-07-07 16:11:13
Amazon Web Services
Dimaste, 2020-07-07 16:11:13

What AWS IAM policies are needed to send data to CloudWatch with EC2 and ECS?

It seems like there is one AWS Managed policy for these purposes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2020-07-07
@Dimaste

Just the other day I was playing with the cloudwatch agent.
As far as I understand, you need
cloudwatch:PutMetricData
cloudwatch:GetMetricStatistics
cloudwatch:ListMetrics
ec2:DescribeTags
And if ready-made, it works with
AmazonEC2ReadOnlyAccess
CloudWatchFullAccess
but you can probably shrink it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question