All lessons in Cloud Engineering: Deploy, Operate, and Recover
Review Changes, Drift, and State Ownership
Distinguish desired state from observed state and assess replacement, deletion, and concurrent changes.
35 minutes · Members lesson · preview
What you will learn
- Compare desired, recorded, and observed infrastructure state.
- Classify a change as creation, update, replacement, deletion, or unexplained drift.
- Define ownership and review evidence for concurrent infrastructure changes.
An operator increases Northstar's replica limit during a burst. The next infrastructure deployment changes it back. Neither action is necessarily a tool defect: the live configuration and the recorded desired state disagree, and two people have different assumptions about which one is authoritative.
Your decision is whether to preserve, revert, or incorporate a difference. Treat drift as evidence to investigate. Automatically keeping every manual change and automatically reverting every difference are both inadequate when the reason for the change is unknown.