Interview Prep/Monitoring & Observability/Cloud Monitoring, Incidents and Migrations

A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?

BeginnerScenarioCloud Monitoring, Incidents and Migrations
Answer

Situation read → Start with user-facing symptoms at the load balancer, then key resource limits.

What I'd do →

  1. ALB: HTTPCode_Target_5XX_Count and HTTPCode_ELB_5XX_Count (as a ratio of RequestCount with metric math), TargetResponseTime p99, UnHealthyHostCount > 0.
  2. RDS: FreeStorageSpace, CPUUtilization, DatabaseConnections near max_connections, ReplicaLag, FreeableMemory.
  3. EC2: StatusCheckFailed, and install the CloudWatch agent for memory and disk usage.
  4. Send all alarms to an SNS topic integrated with the paging tool.
  5. Use a composite alarm to page only when user-facing symptoms fire.
aws cloudwatch put-metric-alarm --alarm-name rds-storage-low \
  --namespace AWS/RDS --metric-name FreeStorageSpace \
  --dimensions Name=DBInstanceIdentifier,Value=prod-db \
  --statistic Minimum --period 300 --evaluation-periods 1 \
  --threshold 10737418240 --comparison-operator LessThanThreshold \
  --alarm-actions arn:aws:sns:eu-west-1:111122223333:oncall

Why → The ALB sees what users see; resource alarms give early warning.

Interview tip → Mention that EC2 memory is not a default CloudWatch metric.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations