Network and service health troubleshooting
Trace the path one boundary at a time
For a browser reaching a private application through ALB, trace DNS resolution, TCP/TLS, listener and rule, target group, application port and downstream database. Test the return path too. DNS failure differs from TCP timeout, connection refused, certificate mismatch and an HTTP response. Review route tables, security groups, stateless network ACLs in both directions, endpoint and DNS settings using approved read-only evidence. Reachability Analyzer models supported network configuration; it does not send actual test traffic or establish target health. It can incur charges, so do not start an analysis in the default lab. Never disable TLS verification or expose a database to troubleshoot connectivity.
Interpret load balancer and compute evidence
ALB Target.ResponseCodeMismatch means the health endpoint returned a code outside its configured matcher; check the path, application log and expected readiness contract. Target.Timeout points to a missed response deadline; competing explanations include network filtering, a slow handler or an overloaded target. Do not set every HTTP response as healthy. EC2 system status checks concern infrastructure, instance checks concern guest reachability, and attached EBS checks concern volume reachability or I/O impairment; additional application/performance checks depend on support and configuration. Inspect status and boot logs for memory exhaustion, disk or boot failures before considering a controlled replacement. A healthy instance need not serve healthy HTTP requests.
Use service-specific signals
For API Gateway integration failures correlate gateway and Lambda request records; a malformed proxy response or function error can produce 502, and an integration timeout can produce 504. Compare Lambda Duration, Errors and Throttles, concurrency and downstream latency. In ECS inspect service events and stopped task reasons (image, capacity, role or health); in EKS inspect node readiness, pod events, scheduling, image pull and cluster access. For RDS check endpoint, DNS, port, security rules, credentials and engine connection limits; during failover clients may need reconnect and DNS refresh. Distinguish application retry from database recovery. CloudFormation UPDATE_ROLLBACK_FAILED requires investigating the failed resource and rollback cause before an approved continue-update-rollback; skipping resources can leave drift.
Make the smallest reversible change
In a fictional ALB incident, DNS, TLS and listener checks pass; the target reports a 404 for /ready while expecting 200. Compare the deployed readiness route with the reviewed template. Fix the route or restore the previously approved configuration, not the matcher to accept 404. Verify positive readiness, negative readiness when a required dependency is unavailable, application errors and rollback. Use AWS Health for scoped service events but do not infer all local failures are AWS outages. In the lab an unknown prerequisite halts the diagnostic sequence; it cannot be treated as a successful check.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Network and service health troubleshooting — knowledge check
Reason about evidence-based diagnostics and safe repair.
What does Reachability Analyzer establish?
Target.ResponseCodeMismatch indicates what?
An API Gateway integration returns 504. What should you compare?
Where should ECS deployment diagnosis begin?
What is the risk of skipping resources during rollback?