anandarajpandey.com
AWS: CloudFront 502 bad gateway error
Usually 502 error happens when Cloudfront unable to reach origin endpoint. Some of the common reasons are: Backend is busy: Origin endpoint ( ELB -> EC2) is busy or load is higher than given thr…