Incident Severity Levels and Emergency Response for Cloud Service Performance Degradation
Learn how to read status pages, map components to dependencies, classify incident severity, apply safe retry policies, and manage degraded-mode switches when a cloud service degrades. Includes a Python backoff example and a post-incident review checklist.
Disclaimer
All incidents described in this article are hypothetical scenarios used to illustrate methodology. Component names, status descriptions, and timestamps are illustrative only and do not correspond to any real announcement. During an actual incident, always refer to the service provider’s official status page and announcements.
1. Read the Status Page Carefully
Status labels such as “Major Outage,” “Partial Outage,” “Degraded Performance,” and “Operational” describe the state of a component, feature, or region — they do not imply that every user is locked out. When reading a status page, record three things for each entry: the affected component, its severity level, and the last update time of the announcement.
Suppose a status page shows: the chat interface in a major outage, the model API in a partial outage, the document connector with degraded performance, and the console and underlying platform operational. This indicates the failure is concentrated in the application and API layers, while the infrastructure layer is unaffected. That distinction helps the team decide which path to fix first.
2. Build a Component Mapping Table
Map your business functions to their external dependencies. For example:
- Chat depends on the frontend, session service, model API, and storage.
- Code assistance depends on the context service, model API, and permission checks.
- The document connector depends on the document service and the authorization chain.
- Auditing and task scheduling depend on the policy service, log service, and scheduler.
The value of this mapping: when a status notification arrives, the team can answer within minutes, “Does my critical path hit an affected component?” Without it, teams are left guessing one component at a time and burn valuable time.
3. Severity Levels and Response Actions
The table below lists typical symptoms, detection signals, recommended actions, and prohibited actions for each level. Thresholds should be set by each team against its own baseline — for example, “error rate exceeds 3x baseline for 5 consecutive minutes.”
| Level | Typical Symptoms | Detection Signal | Recommended Actions | Prohibited Actions |
|---|---|---|---|---|
| Major Outage | Core capabilities broadly unavailable | Critical-path error rate persistently above threshold | Enter incident response, preserve state, enable degraded mode | Continuously retrying write operations |
| Partial Outage | Some regions, features, or requests failing | Elevated error rate in a specific component or region | Fail over to a backup region or read-only mode; narrow entry points | Switching all routing without validation |
| Degraded Performance | Higher latency, more timeouts, occasional failures | p95 latency above baseline; rising timeout rate | Relax timeouts, queue work, limit concurrency | Unbounded concurrent retries |
| Operational | No anomalies on the status page; error rate back to baseline | Error rate and latency recovered to baseline | Disable degraded mode; reconcile backlog | Resuming historical tasks without verifying data |
4. Emergency Response: Execute by Priority
- Preserve work in progress. Editors, forms, conversation history, and task orchestrations should support local drafts or export, so a timeout or page refresh doesn’t cause data loss.
- Confirm the critical path. Keep only dependencies that affect core business; set other entry points to read-only or temporarily disable them.
- Restrict retries. Allow automatic retries only for idempotent reads or requests proven safe to replay.
- Enable degraded mode. Use cached results, queue requests for later processing, or route generation-type requests to manual confirmation.
- Communicate internally. State the affected components, start time, current mitigation, and the next update time.
Use this checklist while executing: save drafts, confirm the critical path, restrict retries, enable degraded mode, publish the internal announcement, and record the next update time.
5. Retry Policy: Which Requests Are Safe to Retry
Retries are the easiest way to amplify an incident. Non-idempotent requests — creating an order, charging a payment, sending a message — must not be retried automatically even after a timeout, or you risk duplicate submissions or double charges. After a timeout, first query whether the operation already took effect, then decide whether to resubmit.
The following code enables backoff retries only for requests flagged as idempotent. The caller maps HTTP status codes to the corresponding exception types: 5xx, 429, and timeouts map to TransientError; 401 and 403 map to AuthError; 400 and 422 map to ValidationError.
import loggingimport randomimport timeclass TransientError(Exception):"""Timeouts, 5xx, rate limiting, connection resets — errors that may recover on their own."""class AuthError(Exception):"""401, 403 — permission issues that retries cannot fix."""class ValidationError(Exception):"""400, 422 — parameter errors; retrying is pointless until the request is fixed."""def call_with_backoff(fn, max_attempts=5, base=0.5, cap=8.0, idempotent=False):"""Retries are enabled only when idempotent=True.Non-idempotent requests are called exactly once; exceptions propagate as-is,and the caller must query the result before deciding how to proceed."""if not idempotent:return fn()for attempt in range(1, max_attempts + 1):try:return fn()except (AuthError, ValidationError):# Configuration or parameter problem — raise immediately, do not retryraiseexcept TransientError:if attempt == max_attempts:raise# Exponential backoff with full jitter to avoid synchronized retry spikesdelay = random.uniform(0, min(cap, base * (2 ** (attempt - 1))))logging.warning("transient failure, attempt %d, retry in %.2fs", attempt, delay)time.sleep(delay)
6. Recording Degraded-Mode Switches
Degraded-mode switches should be configurable, auditable, and carry an automatic expiration time, so they are not forgotten after the incident ends. Each toggle should record at least: operator, switch name and new state, change time, affected scope, auto-expiration time, and the associated ticket number.
{"switch": "chat_readonly_mode","state": "on","operator": "oncall-zhang","changed_at": "2026-11-24T16:45:00+08:00","scope": ["chat interface", "file export"],"expires_at": "2026-11-24T18:45:00+08:00","ticket": "INC-0000"}
When the expiration time arrives, the system should alert the on-call engineer to confirm whether to extend it. This prevents read-only mode from lingering long after the incident is over.
7. Distinguish Platform Failures from Your Own Configuration Issues
The most common misdiagnosis during a service incident is treating a platform failure as your own configuration error — repeatedly changing keys, permissions, network settings, or parameters. Cross-validate with four signals:
- Time correlation: Did errors cluster around the status page announcement?
- Multi-user reproduction: Are multiple environments or accounts failing simultaneously?
- Status page cross-check: Do failing requests hit the components flagged on the status page?
- Log patterns: Are you seeing mass timeouts, 5xx, rate limiting, or connection resets — rather than steady validation errors?
If errors concentrate in timeouts and upstream unavailability, and your local configuration hasn’t changed recently, suspect dependency health first. But local environments can produce similar symptoms — local DNS resolution issues, proxy configuration changes, network policy or firewall rule adjustments, and expired certificates. Run a controlled experiment before attributing blame: does the same code behave the same way on another network, another account, or another region? If only your machine or network fails, the problem is more likely local.
Stable 401, 403, or parameter errors are more likely permission or configuration problems. In that case, verify credential validity and permission scope first rather than waiting for the platform to recover.
8. Monitoring and Alerting
Over the long term, bring external dependencies into your monitoring:
- Record per-component success rate, latency percentiles, timeout rate, error-code distribution, and retry counts.
- Use p95 and p99 for latency, and state the statistical window — for example, a 5-minute rolling window.
- Define SLOs per critical path, e.g., “chat request success rate no lower than 99.5% within a 5-minute window.”
- Distinguish single-request failures from sustained error-rate elevation; only the latter should trigger incident response.
- Cover every critical path with synthetic probes instead of relying on user reports to discover problems.
Teams can build a dependency health dashboard showing each component’s current status, last change time, and degraded-mode switch state.
9. Post-Incident Review Checklist
Preserve evidence during the review and answer these questions:
- Status page snapshots. Save the content and timestamp of every announcement; don’t rely on memory.
- Timeline. Record the times of the first alert, manual confirmation, start of degraded mode, and recovery confirmation; calculate the gap between first alert and detection.
- Blast radius. Which users, features, and regions were affected — measure with request data, not estimates.
- Did retries amplify traffic? Compare total request volume during the incident against baseline.
- Was degraded mode effective? List when each switch took effect and what impact it had.
- Data verification. Check item by item for lost drafts, duplicate submissions, or inconsistent states.
- Communication timeliness. Did external and internal update intervals meet the agreed cadence?
Every improvement item needs an owner, a deadline, and a verification method. Example:
| Improvement | Owner | Deadline | Verification |
|---|---|---|---|
| Add local draft auto-save to the chat editor | Frontend lead | Next iteration | Simulate network loss and refresh; draft is recoverable |
| Add idempotency keys to write APIs | Backend lead | Within two weeks | Replaying the same request produces only one record |
| Add read-only mode drills | Ops lead | Quarterly | Record drill process and recovery time |
