AWS › Monitoring (CloudWatch)

How does CloudWatch support monitoring containerized applications running on ECS or EKS, including Container Insights?

Intermediate

Answer

CloudWatch Container Insights automatically collects and aggregates metrics and logs specifically from containerized applications running on ECS, EKS, or Kubernetes on EC2, providing visibility at the cluster, service, task, and container level, which is important since standard infrastructure metrics alone do not capture the more granular, container specific resource usage and performance details needed to effectively operate a containerized environment.
aws ecs update-cluster-settings --cluster my-cluster --settings name=containerInsights,value=enabled
Real-world example A platform team enables Container Insights on their ECS cluster, gaining visibility into memory and CPU utilization at the individual container level, helping them identify a specific misbehaving container consuming far more memory than expected.

Common follow-ups: What additional cost is associated with enabling Container Insights?;How does Container Insights data differ from standard ECS service level metrics?