Half of requests fail with 504 and only targets in us-east-1b are unhealthy.

AdvancedTroubleshootingSite down
Answer

Likely causes → Something AZ-local: the NAT gateway in that AZ failed (targets can't reach a dependency), a subnet route table changed, an AZ-scoped dependency (cache node, DB replica) is down, or the AZ itself is impaired.

Diagnose →

aws elbv2 describe-target-health --target-group-arn $TG --output table
aws ec2 describe-route-tables --filters Name=association.subnet-id,Values=$SUBNET_1B
aws cloudwatch get-metric-statistics --namespace AWS/NATGateway --metric-name ErrorPortAllocation ...

Fix → Shift traffic away from the AZ: ALB zonal shift (ARC), scale the ASG in other AZs, or deregister 1b targets. Fix the route or NAT afterwards.

Prevent → One NAT gateway per AZ with AZ-local routes, capacity to lose one AZ (N+1), and zonal health dashboards.

All Real-World Interview questions Roadmap: Interview readiness

More on Site down