Immutable Infrastructure
Immutable infrastructure is a model where servers and IT resources are never changed after they are deployed. When an update or fix is needed, a new server or resource is built from scratch and replaces the old one, rather than modifying the existing instance. This approach reduces the risk of inconsistent or unauthorized changes accumulating over time in production environments.
Immutable infrastructure is an operational model that prohibits in-place updates, configuration changes, or security patches to deployed production workloads. Instead, any change requires provisioning a new artifact or instance from a known-good baseline, typically built through a versioned, automated pipeline, and replacing the existing deployment. This model is intended to reduce configuration drift between instances, improve auditability of what is running in production, and limit the attack surface associated with ad-hoc modifications. The drift-prevention and integrity guarantees this model provides are conditional on enforcement controls that prevent privileged or compromised actors from modifying running instances outside the defined pipeline.
Why it matters
In traditional mutable infrastructure, servers accumulate changes over time through patches, configuration edits, and manual interventions. This accumulation, often called configuration drift, makes it difficult to know with confidence what is actually running in production. Immutable infrastructure is designed to address this problem by ensuring that every running instance traces back to a known, versioned baseline, which improves auditability and reduces the surface area for unauthorized or inconsistent modifications. These guarantees are conditional on enforcement controls that prevent privileged users or compromised processes from modifying instances outside the defined provisioning pipeline.
Who it's relevant to
Inside Immutable Infrastructure
Common questions
Answers to the questions practitioners most commonly ask about Immutable Infrastructure.