🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

DevOps Intermediate

What is Infrastructure Drift?

The divergence between the actual state of infrastructure and its defined desired state, caused by manual changes or untracked modifications.

Infrastructure drift occurs when someone makes manual changes to servers, cloud resources, or configurations that are not reflected in the Infrastructure as Code (IaC) definitions. This creates an inconsistency where the code no longer accurately represents reality. Drift causes unpredictable behavior, makes disaster recovery unreliable, and undermines the repeatability that IaC promises. Detection tools include terraform plan (shows differences), AWS Config (tracks resource changes), and drift detection features in CloudFormation. Prevention strategies include enforcing changes only through IaC pipelines, locking down manual console access, and running regular drift detection scans.

Related Terms

Chaos Engineering
The discipline of deliberately introducing failures into a system to test its resilience and identify weaknesses before they cause outages.
Docker Volume
A mechanism for persisting data generated by Docker containers, surviving container restarts and removals.
Kubernetes
An open-source container orchestration platform that automates deploying, scaling, and managing containerized applications.
Log Aggregation
The process of collecting, centralizing, and indexing log data from multiple sources for unified search and analysis.
Ansible
An agentless automation tool for configuration management, application deployment, and task automation using YAML playbooks.
Nginx
A high-performance web server and reverse proxy known for its stability, low resource usage, and ability to handle many concurrent connections.
View All DevOps Terms →