๐ŸŽ 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

Canary Deployment
A deployment strategy that gradually rolls out changes to a small subset of users before deploying to the entire infrastructure.
Container Orchestration
The automated management of containerized applications including deployment, scaling, networking, and health monitoring across clusters.
Health Check
An endpoint or mechanism that reports whether an application is running correctly and ready to handle requests.
Kubernetes Secret
A Kubernetes object for storing sensitive data like passwords, tokens, and certificates, with base64 encoding and optional encryption at rest.
API Gateway
A server that acts as the single entry point for API requests, handling routing, authentication, rate limiting, and monitoring.
Pipeline as Code
Defining CI/CD pipeline configurations as version-controlled code files rather than through UI-based pipeline builders.
View All DevOps Terms โ†’