How can I troubleshoot a CloudFront 502 error pointing to an ALB by checking ALB metrics?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I troubleshoot a CloudFront 502 error pointing to an ALB by checking ALB metrics?
Asked by:
89 Viewed 89 Answers

Answer (89)

Best Answer
(353)
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.