NEW
Also known as: Replace-Over-Change Infrastructure
Treating servers and runtime artifacts as disposable, replacing on change rather than modifying in place.
DESCRIPTION
Immutable infrastructure eliminates in-place changes by building new artifacts for every update and redeploying clean instances. It improves consistency, auditability, and rollback simplicity by avoiding configuration drift. Techniques include image baking, IaC pipelines, and blue/green or canary strategies. Benefits include predictable deployments, reduced downtime, and clearer version control. Trade-offs involve image build time and artifact storage costs. It is widely used with containers and serverless, and complements DevSecOps and SRE practices.
ALTERNATIVE DEFINITIONS
Wikipedia
Immutable infrastructure is a paradigm in which servers are never modified after they are deployed; any changes are made by replacing servers with new ones.
Highlights no in-place modification and replacement as the core principle.
HashiCorp
Immutable infrastructure is an approach to managing infrastructure where components are replaced rather than changed, reducing configuration drift and improving reliability.
Emphasizes drift reduction and reliability benefits.
AWS
Immutable deployments create a new, updated environment and deprecate the old one, avoiding configuration changes to existing instances.
Focuses on deployment strategy within cloud environments.
Martin Fowler
An immutable server is never changed after it’s deployed; to update, you build a new image and replace the server.
Concise practice-focused articulation by a thought leader.
RELATED TERMS
Infrastructure as Code Blue-Green Deployment Rolling Update Serverless Containers Golden Image Artifact Registry Continuous Delivery Configuration Management Canary Release
COMPETING TERMS
Mutable Infrastructure
KNOWLEDGE AREAS
Software Engineering Cloud Infrastructure Platform & Tooling MLOps
TARGET AUDIENCE
DevOps Engineer Cloud Architect Software Developer IT Manager Solution Architect Security Architect
EXTERNAL SOURCES
- Wikipedia - Immutable infrastructure
- Microsoft Learn - Azure architecture guidance on immutable infrastructure
- HashiCorp - Guide using Packer and Terraform
- Google Cloud - Blue-green deployments pattern
TOP QUESTIONS
Why is Immutable Infrastructure valuable?
It prevents configuration drift, simplifies rollbacks, and improves reliability by consistently redeploying new instances.
Category: Relevancy
How do you implement Immutable Infrastructure?
Use image baking, IaC pipelines, artifact registries, and blue/green or canary deployment strategies.
Category: Requirements
What are common mistakes with Immutable Infrastructure?
Not versioning images, skipping security hardening, and mixing mutable configuration can reintroduce drift.
Category: Mistakes
What are risks of Immutable Infrastructure?
Build pipeline failures, slow image creation, and increased storage costs for artifacts can affect agility.
Category: Risks
How is Immutable Infrastructure monitored?
Telemetry covers deployment success, instance health, and artifact integrity; policies enforce version and provenance tracking.
Category: Management
What is a competitor to Immutable Infrastructure?
Mutable infrastructure permits in-place changes, typically via configuration management tools.
Category: Alternatives
What tools help adopt Immutable Infrastructure?
Terraform, Packer, Kubernetes, and cloud images streamline builds and deployments.
Category: Requirements
What’s a misunderstanding about Immutable Infrastructure?
Teams think all state must be immutable; in practice, application state lives in external managed services.
Category: Misunderstanding
What is currently debated for Immutable Infrastructure?
Balancing image baking vs. runtime configuration for speed and flexibility is debated.
Category: Opinions