The user wants a "Resilience Game Day Charter." This document outlines the rules, objectives, scope, and logistics for a chaos engineering or disaster recovery exercise.
Key elements requested:
- Simulation of partial outages: Not just everything-down, but specific service failures.
- Dependency chaos: Simulating failures in upstream/downstream services, third-party APIs, or databases.
- Recovery SLAs: Testing if the team can recover within defined time limits (RTO/RPO).
Target Audience: Engineering teams, SREs, Product Owners, and Stakeholders.
Tone: Professional, operational, structured, and exciting (it's a "game day").
Structure of the Charter:
- Header: Title, Date, Duration, Scope.
- Mission Objective: What are we trying to prove?
- The "Enemy" (Scenario Scope): What kind of chaos?
- Latency injection.
- Pod kills.
- Dependency unavailability (partial outage).
- Rules of Engagement (The Guardrails): Safety first (blast radius).
- The Scenarios (The "Levels"):
- Level 1: Minor dependency lag.
- Level 2: Critical partial outage (e.g., 503s on a key microservice).
- Level 3: Dependency Chain Reaction (Cascading failure).
- Scoring & Metrics (Recovery SLAs): How do we win?
- MTTD (Mean Time To Detect).
- MTTA (Mean Time To Acknowledge).
- MTTR (Mean Time To Resolve).
- Roles & Responsibilities: Game Master, Observers, Responders.
- Abort Conditions: When to stop immediately.
Drafting Content - Section by Section:
- Title: Project Kraken: Resilience Game Day Charter (Needs a cool codename). Let's go with "Operation Cockroach" or "Operation Hydra" (many heads). Let's stick to "Operation Hydra."
- Objective: Validate the system's ability to withstand turbulent conditions without manual intervention (elasticity) and measure recovery speed against SLAs.
- Dependencies: Need to mention specific types like DBs, Caches, External APIs.
- The "Chaos": I need to define specific failure modes.
- Partial Outage: Terminating 50% of replicas.
- Dependency Chaos: Blocking DNS or throttling API calls between services.
- Recovery SLAs: I should define standard tiers.
- Tier 1 (Critical): 15 mins recovery.
- Tier 2 (Standard): 1 hour recovery.
Refining the "Game" aspect:
To make it feel like a "Game Day," I should structure the scenarios as levels or rounds with specific win conditions.
- Round 1: The Wobble (Latency).
- Round 2: The Blackout (Partial Availability).
- Round 3: The Domino Effect (Dependency Death Spiral).
Formatting: Use Markdown. Bold headers, bullet points for readability.
Self-Correction/Review during drafting:
- Critique: Is this too generic?
- Fix: Add specific examples of tools (Gremlin, Chaos Monkey) or specific protocols (gRPC, HTTP) to make it actionable. Add a section on "Communication Protocol" because silence during an incident is bad.
Final Polish: Ensure the distinction between "Chaos Engineering" (proactive) and "Game Day" (reactive/drill) is blended—usually, a Game Day involves humans reacting, while Chaos Engineering might just be automated experiments. I will focus on the human element of reacting to the SLAs.
Let's write it out.
Operation Hydra: Resilience Game Day Charter
Date: October 24, 202X
Time: 14:00 – 18:00 UTC
Codename: Operation Hydra
Objectives: Validate graceful degradation, test circuit breaker efficacy, and measure Recovery Time Objectives (RTO) under duress.
1. Executive Summary
This Game Day is a controlled chaos engineering experiment designed to inject failure into the Production-Shadow environment. We will simulate partial outages, network latency, and dependency failures to observe system behavior.
The Goal: To verify that when heads are cut off, new ones grow back—or at least, the body survives.
2. Scope of Engagement
In-Scope (The Blast Radius)
- Environment:
Prod-Shadow (1:1 scale replica of Production traffic).
- Services:
Payment-Gateway (Critical Path)
User-Profile-Svc (Dependency)
Inventory-DB (Stateful Layer)
3rd-Party Shipping API (External Dependency)
- Infrastructure: Kubernetes Pods, Load Balancers, Redis Cache layers.
Out-of-Scope (The No-Fly Zone)
- Actual Production Database: No data deletion or schema changes on live user data.
- Compliance/PII: No exposure of real user PII.
- Cloud Provider Control Plane: We will not break AWS/Azure/GCP console access.
3. Rules of Engagement (ROE)
- The "Panic Button" Rule: Any participant can call "Abort" immediately if safety boundaries are breached. The Game Master has ultimate veto power.
- No Silent Heroes: If you see a fire, declare it. Do not silently patch code during the game unless it’s a documented runbook action.
- Observe, Don't Assume: We trust dashboards, not intuition. If it’s not on the graph, it didn’t happen (or we have a blind spot).
- The Customer is God: Simulated customer traffic is the primary metric. Internal server errors matter less than customer success rates.
4. The Game Board: Scenarios & SLAs
We will execute three "Levels" of failure. Each level has a specific Dependency Chaos profile and a target Recovery SLA.
Level 1: The "Wobbly Ankle" (Latency Injection)
- Target:
Inventory-DB
- Chaos: Inject 500ms of jitter and 1% packet loss on the database connection string.
- Expected Behavior: App should serve stale data from Redis Cache or switch to read-replica mode.
- Recovery SLA: < 2 minutes (Automated failover expected).
- Win Condition: User check-out success rate remains > 99%.
Level 2: The "Poisoned Chalice" (Partial Outage)
- Target:
Payment-Gateway (Internal Service)
- Chaos: Terminate 50% of pods. Among the survivors, return HTTP 503 for 30% of requests.
- Expected Behavior: Circuit breakers trip; UI falls back to a "Payment Pending" queue state rather than failing the transaction.
- Recovery SLA: < 5 minutes (Manual intervention allowed to restart dead pods).
- Win Condition: Zero data loss; users see a "Processing" spinner rather than a generic error page.
Level 3: The "External Aggressor" (Dependency Chaos)
- Target:
3rd-Party Shipping API
- Chaos: Blackhole the external IP address (Simulate total provider outage).
- Expected Behavior: System switches to "Label Later" mode. Orders are accepted but fulfillment is queued.
- Recovery SLA: N/A (Degraded Mode Acceptance).
- Win Condition: System detects provider failure within 1 minute and halts automated retries (preventing retry storm).
5. Metrics of Success (The Scorecard)
| Metric | Target (Gold) | Acceptable (Silver) | Failure (Red) |
|---|
| Time to Detect (TTD) | < 30 seconds | < 2 minutes | > 5 minutes |
| Time to Mitigate (TTM) | < 5 minutes | < 15 minutes | > 30 minutes |
| Error Budget Burn | < 5% of monthly budget used | < 20% used | > 20% used |
| Blast Radius Containment | Only affected service impacted | Minor impact on adjacent services | System-wide cascade failure |
6. Role Assignments
- Game Master (GM): [Name] - Controls the Chaos Injection tools. The only person authorized to "break" things.
- Incident Commander (IC): [Name] - Manages the human response. Coordinates communication.
- The Observers (SRE/Dev): [Names] - Watch dashboards, verify logs, and act as "Customers" trying to use the site.
- The Medics (On-Call): [Names] - The team actively trying to fix the issues under the pressure of the clock.
7. Post-Game Huddle (The Aftermath)
Immediately following the event (30 mins), we will hold a blameless post-mortem.
- What went right? (Where did resilience hold?)
- What went wrong? (Where did the cascade occur?)
- What was surprising? (Unknown unknowns).
Deliverable: A prioritized list of Jira tickets for architectural improvements to be assigned within 48 hours.
Authorization:
Signed,
[CTO/VP of Engineering Name]