Cloud incident troubleshooting
Start with the symptom, not a fix
Imagine the fictional Bookshop checkout API starts timing out after a release. Support reports failures at 10:05 UTC. The dashboard says the cluster is healthy. Neither fact establishes root cause. Define the affected operation, user group, region, time window, success criteria and business impact. Record a request ID, error category and last known good release. Compare a working request from the same authorized environment. Mark facts, hypotheses and unknowns separately. Check incident history and provider health, but absence of a published incident does not exclude a provider fault. Assign an incident owner and communication channel; preserve evidence before changing anything. Use only approved read access and synthetic probes. Never include tokens, passwords or customer payloads in tickets.
Walk the layers in order
| Layer | Read-only evidence | Competing explanation |
|---|---|---|
| Account/project/subscription | Effective caller, target ID and environment | Wrong context rather than missing resource |
| IAM | Denial code, action, resource and relevant policy | Expired session, wrong role, explicit deny |
| Region/quota | Selected region, quota and current consumption | Capacity shortage or rate limit, not a quota |
| Control plane | Deployment state, operation ID and last change | Pending reconciliation or failed provisioning |
| DNS/network/TLS | Resolver result from affected network, route, target port, certificate validity/name | Wrong private zone, blocked return path or TLS mismatch |
| Runtime | Image digest, startup logs, readiness and exit reason | Bad image, architecture mismatch, missing config, memory exhaustion |
| Application/database | Correlated traces, connection pool, query latency, storage errors | App regression, exhausted pool, slow dependency |
| Events | Queue age, delivery attempts, ack failures, dead letters | Slow consumer or poison event |
| Billing | Usage period, SKU, allocation and recent changes | Delayed charge, orphan storage, traffic spike |
A successful earlier layer only narrows the search for that request at that time. A healthy control plane does not mean a healthy data plane. Treat 401/403 as authentication/authorization clues, not instructions to broaden access. A 429 may represent a request rate limit; look at service-specific error details and retry guidance. A quota error can be about resource count instead. A timeout does not prove a firewall block.
Use an evidence ledger for a timeout
All observations below are synthetic. At 10:05 UTC checkout requests from the private worker subnet fail; the public storefront still works. At 10:08 the worker resolver returns NXDOMAIN for db.internal.example. At 10:09 a known-good worker in another authorized subnet resolves the name to the expected private address. At 10:10 configuration history shows the affected network's private zone association was removed in the last approved change. Hypothesis A: private DNS association is missing (three supporting observations). Hypothesis B: a route or TLS failure (still possible after DNS is corrected, but no connection was attempted). Hypothesis C: database saturation (no evidence yet). Check the intended zone, association and resolver forwarding configuration against the approved baseline; check whether the name is expected to exist. Do not edit hosts files, make the database public, or disable TLS verification. Request a scoped association restoration through the change owner, preserving the previous configuration. Then repeat DNS lookup from the affected worker, verify TCP and TLS using approved health probes, and run a read-only application transaction. Monitor success, latency and errors for a predefined window. If the change worsens service, revert that specific change through the documented rollback process. If DNS is restored but timeouts remain, investigate the next layer rather than declaring success.
Recognize common failure signatures
| Symptom | Evidence to gather | Scoped response after confirmation |
|---|---|---|
| Access denied | Effective principal and exact action, resource, policy conditions | Correct intended identity or narrow policy through review |
| Quota exhausted | Limit, scope, usage, requested increment | Reduce demand or request approved quota; verify available capacity |
| Image pull/start failure | Registry identity, digest, manifest architecture, exit logs | Restore known-good digest or approved config |
| Unhealthy target | Probe path, protocol, port, app readiness and dependencies | Correct probe or workload; never disable checks to hide failure |
| TLS failure | Hostname, chain, expiry, trust store, clock | Renew or correct certificate/chain; keep validation enabled |
| Throttling/retry loop | Status, Retry-After if provided, attempts, queue age, request ID | Bound retries with jitter and deadline; cap concurrency |
| Storage error | Exact operation, region, permission, object version, capacity and key status | Correct the specific permission/config or restore verified copy |
| Missing logs | Time zone, resource, filters, permissions, sink/exclusion and ingestion delay | Restore approved collection and verify a synthetic event |
| Release regression | Error rate by version, deployment timestamp, schema compatibility | Pause rollout; roll back only if data/schema compatibility permits |
Avoid repeating non-idempotent operations after ambiguous timeout. Reconcile the outcome by request ID before retrying. Do not delete failed jobs or storage merely to make a dashboard green.
Choose provider tools by what they actually test
AWS EC2 status checks and system logs can help separate instance health from application errors. VPC Reachability Analyzer evaluates supported network configuration paths, not a successful TLS or application transaction. Azure Network Watcher Connection Troubleshoot provides connectivity diagnostics; compare Azure Activity Log, Resource Health and app telemetry with the incident window. Google Cloud Connectivity Tests distinguishes configuration analysis from live data-plane probes for supported paths; a modeled reachable result alone is insufficient. Cloud Audit Logs records supported administrative/data-access events, while application logs may need separate collection. Verify permissions, coverage, probe behavior and potential charges before running any diagnostics. Sources: EC2 troubleshooting, Reachability Analyzer, Azure Connection Troubleshoot, Connectivity Tests, Cloud Audit Logs.
Escalate with reproducible evidence
Escalate when impact crosses incident severity thresholds, required access is unavailable, the approved mitigation fails or provider infrastructure is suspected. Supply UTC interval, affected service/region, redacted resource IDs and request IDs, exact error text, known-good comparison, observed changes, checks already performed, business impact, and requested help. Use authorized support channels; support plan response targets and responsibilities differ. Customer teams retain responsibility for application logic, data, identity and configuration within their service model. Do not wait for root cause before communicating impact. Close only when recovery criteria hold and follow-up actions have owners. A postmortem must distinguish trigger, contributing conditions and verified cause. Practice: Given a 403 after a role change and an unrelated network warning, explain which evidence would distinguish denial from connectivity; name a scoped correction and verification.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Cloud incident troubleshooting — knowledge check
Choose the best answer for each offline scenario.
A worker returns NXDOMAIN for a private database name. What is the next focused check?
What does a reachable configuration-analysis result establish?
What should you do with a 403 after a role change?
What is safest after an ambiguous timeout on a non-idempotent operation?
When should recovery be declared?