After changing the health check path, the ALB shows "Health checks failed with these codes: [404]" for every target.
IntermediateTroubleshootingSite down
Answer
Likely causes → The new path doesn't exist on the deployed version yet, the app serves it only on a different host header, or the matcher expects 200 while the endpoint returns 301/302.
Diagnose →
aws elbv2 describe-target-groups --target-group-arns $TG \
--query 'TargetGroups[].[HealthCheckPath,HealthCheckPort,Matcher]'
curl -s -o /dev/null -w '%{http_code}\n' http://<target-ip>:8080/healthz
Fix → Revert the path, or set the matcher to the real code (for example 200-399). Ship the health endpoint before switching the LB to it.
Prevent → Health check config lives with the app's chart/IaC and is deployed in the same change, and every service exposes a standard /healthz.
More on Site down
Every user reports "This site can't be reached — ERR_NAME_NOT_RESOLVED" for your domain.BeginnerRight after a deploy, nginx returns "502 Bad Gateway" on every page.BeginnerALB returns "503 Service Temporarily Unavailable" and the target group shows 0 healthy targets.Beginner`curl https://app.example.com` hangs and ends with "Connection timed out" on port 443.BeginnerAfter a Helm upgrade, the ingress returns "default backend - 404" for your domain.IntermediateAll pods are Running and Ready, but the Service has no endpoints and traffic fails.Intermediate