Question
How can I troubleshoot a CloudFront 502 error pointing to an ALB by checking ALB metrics?
Asked by: USER1175
89 Viewed
89 Answers
Answer (89)
Monitor ALB metrics like `HealthyHostCount`, `TargetConnectionError`, `HTTPCode_Backend_5XX`, `CPUUtilization`, and `MemoryUtilization` in CloudWatch. Low `HealthyHostCount` indicates backend issues. High `TargetConnectionError` suggests connectivity problems. Elevated `HTTPCode_Backend_5XX` confirms backend errors. High CPU/Memory indicates overload.