Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ECS CPU/Memory usage container

How can I see the used resources per ECS container? Now im able to see the resources from the whole cluster but I want to see it per container.

I know I can see it via docker stats when I SSH to my cluster, but I prefer Cloudwatch for it.

like image 642
Janp95 Avatar asked Sep 06 '25 02:09

Janp95


1 Answers

ECS doesn't provide per container metrics on CloudWatch.

You could install the CloudWatch Agent in your containers via the Docker file. You can configure CloudWatch agent to publish a bunch of host level metrics.

However, note that all of these metrics would be Custom Metrics and would cost a lot.

like image 126
mickzer Avatar answered Sep 07 '25 23:09

mickzer