[07] Monitoring Flashcards
What CloudWatch metrics does ECS generate for clusters?
CPUReservation, CPUUtilization, MemoryReservation, MemoryUtilization, GPUReservation
What is the CPUReservation metric for clusters?
The percentage of CPU units that are reserved by running EC2 tasks in the cluster
What is the CPUUtilization metric for clusters?
The percentage of CPU units currently used, divided by the total amount reserved for a cluster / service (only includes EC2 tasks)
What is the MemoryReservation metric for clusters?
The percentage of memory that is reserved by running EC2 tasks in the cluster
What is the MemoryUtilization metric for clusters?
The total memory used by tasks in a service / cluster relative to the amount reserved (only includes EC2 tasks)
What is the GPUReservation metric for clusters?
The percentage of total available GPUs that are reserved by running tasks in the cluster
What CloudWatch metrics does ECS generate for services?
CPUUtilization, MemoryUtilization
What is the CPUUtilization metric for services?
The number of CPU units in use divided by the total amount reserved for a cluster / service
What is the MemoryUtilization metric for services?
The total memory used by tasks in a service / cluster relative to the amount reserved
What metrics are generated when Service Connect is enabled?
Metrics similar to an Application Load Balancer (ALB)
How frequently are CloudWatch metrics published by ECS?
With a 1-minute frequency (ECS internally collects multiple samples and aggregates them)
How can you collect metrics via Prometheus?
By adding an AWS Distro for OpenTelemetry (ADOT) sidecar
What is a way to add an ADOT sidecar to a task definition?
The console has an option to automatically add this sidecar to the task definition
What state is a container instance in when the ECS agent health check passes?
OK
What state is a container instance in when the ECS agent health check fails?
IMPAIRED