Other Articles

ECS Service – Monitor Memory Utilization

This check ensures that ECS service memory utilization is monitored to identify potential memory leaks, optimize performance, and prevent service outages.

Check Details

  • Resource: ECS Service
  • Check: Monitor ECS service memory utilization
  • Risk: Service instability or task failures due to unmonitored memory usage

Remediation via AWS Console

  1. Log in to the AWS Management Console and navigate to Amazon ECS. Amazon ECS console
  2. Click Clusters, select the affected ECS cluster, then click Services and choose the affected ECS service.
  3. Open the Health and metrics tab and ensure MemoryUtilization metrics are being generated for the service. ECS service health and metrics
  4. If memory utilization metrics are not available or not updating, associate the service with a valid task definition that specifies memory values.
  5. If CPU utilization metrics are also not available or not updating, associate the service with a valid task definition that specifies CPU values. Save and deploy the updated service.