Search code examples
amazon-web-servicesamazon-ecs

About how to monitor ephemeral storage usage on AWS Fargate


From Apr 30, 2021, Amazon ECS on AWS Fargate allows you to configure the size of ephemeral storage for Tasks. However, I am consider about ways so that I monitor the usage of ephemeral storage . Is there anyway?

Thank you so much!


Solution

  • Because I did not find any other solution for Fargate. Therefore, I created a sidecar container that use amazon/cloudwatch-agent docker image (https://hub.docker.com/r/amazon/cloudwatch-agent) to get the information about disk usage and then put custom metrics to CloudWatch.

    Thanks for your help!