Interview Prep/Monitoring & Observability/Kubernetes Monitoring, Scale & Cloud

What are the CloudWatch agent, ADOT and Container Insights?

IntermediateConceptKubernetes Monitoring, Scale & Cloud
Answer
  • CloudWatch agent: collects OS-level metrics EC2 does not provide by default (memory, disk usage), plus log files, StatsD/collectd metrics. Configured via JSON, often stored in SSM Parameter Store.
  • AWS Distro for OpenTelemetry (ADOT): AWS-supported OTel Collector and SDKs that export to CloudWatch, X-Ray, Amazon Managed Service for Prometheus or any OTLP backend.
  • Container Insights: per-cluster, node, pod and container metrics and logs for ECS and EKS. On EKS it is installed via the amazon-cloudwatch-observability add-on, which also offers enhanced observability for control-plane and workload metrics.
aws eks create-addon --cluster-name prod --addon-name amazon-cloudwatch-observability

Without the agent, "memory utilisation" for EC2 simply does not exist in CloudWatch.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes Monitoring, Scale & Cloud