Interview Prep/AWS/VPC and Connectivity

`Network Load Balancer` targets show unhealthy but the app works when tested directly.

IntermediateTroubleshootingVPC and Connectivity
Answer

Likely causes → SG on targets blocks NLB source, or health check port mismatch.

Diagnose →

aws elbv2 describe-target-health --target-group-arn <arn>
aws elbv2 describe-target-groups --target-group-arns <arn>

Fix →

  1. Allow health check source ranges
  2. Fix port and protocol

Prevent → Use client IP preservation rules carefully.

aws All AWS questions Roadmap: AWS core services

More on VPC and Connectivity