Capstone incident and architecture review
Diagnose the candidate failure before recovery
The candidate v2 deliberately returns 503 in the lab. If the edge health check is still 200, the application can be failing even though the proxy is alive. Correlate upstream status, release identity and authenticated probe results. Halt expansion, notify the owner and preserve safe evidence. Do not blindly retry failures or replay real writes. In the lab there are no persistent writes. This is a simulated failure, not a production incident.
edge /healthz -> 200authenticated API via v2 -> 503action -> stop rollout; restore known-good configurationverify -> authenticated API returns 200 and version v1Restore the reviewed artifact and verify recovery
The test saves the stable configuration and records its SHA-256, switches to the candidate in a fresh process, then reads the backup and checks its digest before starting stable again. The digest confirms equality to a known artifact, not security or authenticity by itself. A real release needs a trusted manifest, access controls and compatibility with application data. This exercise tests fresh-process configuration recovery, not graceful reload, zero downtime or database restoration. Define RTO as target recovery time and RPO as tolerated data loss; measure those only with a real timed restore drill and appropriate data fixtures.
import hashlib# Illustrative check, with trusted_digest supplied by a reviewed manifest.# restored = backup_path.read_bytes()# assert hashlib.sha256(restored).hexdigest() == trusted_digestCompare deployment costs under stated assumptions
A VM variant and container variant both need the same service contract. The example uses hypothetical monthly USD, not current vendor pricing. VM: 120 compute + 20 storage + 40 transfer + 30 monitoring + 8 hours at 60 = 690. Containers: 150 compute + the same fixed expenses + 6 hours at 60 = 600. Two extra VM labor hours add 120. Missing redundancy, backup, licensing, tax and migration costs must be estimated before choosing. A cheaper design that fails a required recovery objective is not an acceptable candidate.
def total(compute, storage, transfer, monitoring, hours, rate): return compute + storage + transfer + monitoring + hours * rateprint(total(120, 20, 40, 30, 8, 60)) # 690print(total(150, 20, 40, 30, 6, 60)) # 600Present your evidence and remaining risks
Submit a topology, requirements, route table, full fixture, test evidence, deployment decision and incident record. Explain why direct-edge identity handling changes behind another proxy, why no-store is needed, and why local rollback does not establish a production RTO. Identify gaps including host redundancy, real identity management, remote origin TLS, persistent data recovery, target images and monitoring integration. Close the tutorial by documenting what was tested and what remains unknown, rather than calling a working lab production certified. The curriculum is authored; publication requires separate platform validation and review.
Evidence: binary version + syntax output + functional resultsDecision: approved constraints, alternatives, owner, revisit triggerOpen risks: host failure, production identity, data recovery, origin TLSRelease status: draft; separate review requiredApply what you learned
Practice: Use the candidate failure and recovery result. Explain the rollback mechanism, distinguish RTO and RPO, recalculate the container monthly estimate with two extra labor hours, and name two unresolved risks and their owners. The manual exercise and quiz are staged separately. Related references and the next lesson are listed in the chapter authored map.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Capstone incident and architecture review
Assess the professional delivery capstone.
Candidate returns 503 while edge health is 200. What next?
What does the saved digest verify?
What is RPO?
Container cost with two additional hours at 60?
Which claim is supported by this local lab?