Reliability cost and recovery validation
Define the acceptance criteria first
A service-level indicator (SLI) is a measured property of service behavior; a service-level objective (SLO) is its target over a stated window. The fictional bookstore has a 99.9% successful-request objective for eligible requests over 30 days. The synthetic window contains 100,000 eligible requests with 80 failures. Its success ratio is 99.92%, the error allowance is 100 requests and the remaining budget is 20. A missing sample or zero eligible requests is unknown, not perfect availability. Real measurements need an agreed denominator, treatment of timeouts and exclusions, and reliable data collection.
eligible = 100000; failed = 80SLI = 99920 / 100000 = 99.92%allowed failures = 100; remaining = 20Check recovery, not just backup
RPO is the maximum acceptable data loss in time; RTO is the target time to restore service. In a synthetic incident at minute 120, a verified recovery point at minute 116 yields a four-minute gap. If restore and application validation finish at minute 142, elapsed recovery is 22 minutes. These pass a five-minute RPO and 30-minute RTO. A backup timestamp alone is insufficient: require an application-consistent recovery point and validate order IDs, totals and access after restore. A volume restore does not prove a running application is correct. The local lab uses SQLite backup and a distinct restored file, tests expected order records and rejects conflicting duplicates; it does not measure cluster RTO.
incident: 120; verified recovery point: 116 -> 4 minservice verified: 142 -> 22 minRPO <= 5, RTO <= 30 -> synthetic timing gates passBuild a bounded cost model
Compare designs using the same workload and recovery goals. Fictional monthly costs for compute, control plane, storage, network, telemetry and backup are $240, $70, $40, $25, $20 and $15, totaling $410. A $450 design budget leaves $40 headroom. Unknown charges cause HOLD; a budget alert is not a hard cap. No actual region, SKU, invoice or quote is supplied. Include surge capacity, residual disks and snapshots, idle load balancers, support and operational staffing where applicable. A cheap design that misses recovery requirements is not acceptable.
240 + 70 + 40 + 25 + 20 + 15 = 410 USD/month450 - 410 = 40 USD/month fictional headroomUse benign faults to test boundaries
Review the provided scenarios: a selector mismatch yields no intended backend in the model; an unknown CNI capability blocks the release decision; a failed SLO or recovery limit blocks promotion; an unverified reverse data synchronization blocks rollback after new writes. A successful source rollout does not prove recovery. In an approved lab, collect status, endpoint readiness, actual application requests and allowed/denied network tests. Do not induce a real outage, drain a production node or delete a PVC. A controlled fault must have an owner, stop condition and reset plan.
negative: selector mismatch -> investigate endpointsnegative: RPO gap 8 > 5 -> HOLDnegative: cost unknown -> HOLDnegative: target has writes, reverse sync unknown -> HOLDDecide whether the next wave is eligible
All hard requirements must pass independently. Never average a failed recovery gate into a passing cost score. Define the observation window, alert thresholds, service owner and response. Use request success, latency and business invariants rather than CPU or Ready Pods alone. The acceptance model is a deterministic offline gate: even a passing scenario means only eligible for further review, never a production release. The evidence portfolio must distinguish the hypothetical SLO and cost inputs from the local data-restore observations.
SLO + verified restore + budget + approval + security evidenceall modeled gates true -> ELIGIBLEfalse or missing -> HOLDPractice and handoff
Predict acceptance cases, run validate_offline.py and compare the local restore and synthetic timing evidence. Add a failing RPO case and justify the HOLD. Work in the extracted offline fixture. No cloud or cluster operations are needed.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Reliability cost and recovery validation — knowledge check
Create SLO, restore and cost acceptance criteria
100,000 requests with 80 failures gives what success SLI?
At 99.9% SLO with 100,000 eligible requests, how much budget remains after 80 errors?
Incident minute 120, last verified recovery point 116. What is the data loss window?
What if the cost model lacks network charges?
Does local SQLite restore verify Kubernetes RTO?