Search code examples
amazon-web-servicesamazon-ecsamazon-cloudwatch

How to configure CPU utilized metric for ECS in AWS for Alarm?


I wanted to have CPU Cloudwatch Alarm for my ECS service previously i used to use CPU Utilization metric which was in percentage i used to give >80%. Seems they have removed it.AWs Docs

So now we have CPUUtililized. I want to know how to configure it for 80%. Its coming in 100s i had 4vCPU for my container.


Solution

  • CPU Utilization is absolutely still there. It is part of the basic metrics always reported by ECS to CloudWatch.

    The documentation page you linked is for ECS Container Insights, which is an option you have to enable on your ECS cluster for an added fee. When enabled, ECS Container Insights reports additional metrics to CloudWatch.