🎁 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

Service Mesh
An infrastructure layer that handles service-to-service communication, providing load balancing, encryption, and observability.
Runbook
A documented set of standardized procedures for handling routine operations and incident response in production systems.
Containerization
A lightweight virtualization method that packages applications with their dependencies into isolated, portable containers.
Grafana
An open-source analytics and visualization platform for creating dashboards from various data sources.
Blue-Green Deployment
A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.
Terraform
An open-source tool for provisioning and managing cloud infrastructure using declarative configuration files.
View All DevOps Terms →