๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Immutable Deployment
A deployment strategy where new versions replace existing instances entirely rather than updating them in place.
Istio
An open-source service mesh that provides traffic management, security, and observability for microservices on Kubernetes.
SRE (Site Reliability Engineering)
An engineering discipline that applies software engineering principles to infrastructure and operations to create reliable systems.
API Gateway
A server that acts as the single entry point for API requests, handling routing, authentication, rate limiting, and monitoring.
Containerization
A lightweight virtualization method that packages applications with their dependencies into isolated, portable containers.
Observability
The ability to understand a system's internal state from its external outputs through metrics, logs, and traces.
View All DevOps Terms โ†’