# Configuration Drift

> When the real setup drifts away from what the files say.

**Field:** Software Development  
**Category:** DevOps & Cloud  
**Also known as:** Config Drift, Drift, Infrastructure Drift

## Think of it like

Think of it like a neat room that gets messy bit by bit. There was no big mess, just lots of small ones.

## Definition

Configuration drift is when the real setup slowly stops matching what was written down. Someone changes a setting by hand to fix a problem. Someone else installs a tool on one server only. Each change is small, but over months the servers all differ. Infrastructure as code tools can spot drift by comparing the files to what is really there.

## Example

Emma's three servers were set up the same. A year of hand fixes later, one has a different time zone, and its reports come out an hour wrong.

## Why it matters

Servers that drift break in ways nobody can explain. A setup you cannot rebuild is a setup you cannot trust.

## Common mistake

Fixing a live server by hand and not updating the files. The next rebuild quietly undoes your fix.

## Three principles

- **Small changes add up.** Hand fixes, one by one.
- **Files stop matching.** Reality wanders off.
- **Check and correct.** Compare files to reality.

## Related terms

- [Infrastructure as Code (IaC)](https://learn.benibix.com/term/development/infrastructure-as-code)
- [Terraform](https://learn.benibix.com/term/development/terraform)
- [Environment (Software)](https://learn.benibix.com/term/development/environment)
- [Configuration File](https://learn.benibix.com/term/development/config-file)
- [Configuration Management](https://learn.benibix.com/term/development/configuration-management)
- [GitOps](https://learn.benibix.com/term/development/gitops)

---

Source: https://learn.benibix.com/term/development/configuration-drift
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
