ALB returns "503 Service Temporarily Unavailable" and the target group shows 0 healthy targets.

BeginnerTroubleshootingSite down
Answer

Likely causes → All targets fail health checks (app down, wrong health check path/port, security group blocks the ALB), or the target group is empty because the ASG/Service deregistered everything.

Diagnose →

aws elbv2 describe-target-health --target-group-arn $TG \
  --query 'TargetHealthDescriptions[].[Target.Id,TargetHealth.State,TargetHealth.Reason,TargetHealth.Description]'

Reasons like Target.ResponseCodeMismatch, Target.Timeout or Target.FailedHealthChecks point to the next layer.

Fix → Fix whatever the reason says: restart or roll back the app, correct the path, or allow the ALB security group on the target port.

Prevent → Alarm on HealthyHostCount < N, keep health checks on a cheap endpoint, and keep minimum capacity above zero.

All Real-World Interview questions Roadmap: Interview readiness

More on Site down