8

while creating a batch job, we can provide vCPUs and Memory in Container properties.

In cloudwatch, we can check memory and CPU usage per cluster under Elastic Container Service per cluster.

Is there any way to check memory and CPU usage per job?

Dev
  • 13,492
  • 19
  • 81
  • 174

1 Answers1

2

There seems to be nothing which is production grade right now ( August 2019)

However, here some hints:

  • implementing your own solution using gmond / ganglia
  • use AWS containerInsights (enable it for your account via cmd below )

aws ecs put-account-setting-default --name "containerInsights" --value "enabled"

tweep
  • 146
  • 1
  • 3
  • 2
    has containerInsights worked for you? The [documentation page](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights.html) says "Currently, Container Insights isn't supported in AWS Batch." – Dário Nov 16 '21 at 15:26