liveBook · Manning

Immutable infrastructure

Immutable infrastructure is an infrastructure-management approach in which deployed resources are replaced with newly configured resources rather than modified in place.

How 2 Manning books explain it

Grokking Software Architecture

An operational approach in which deployed infrastructure is changed by rebuilding and replacing instances rather than modifying them in place.

How it is used
Replace live servers through rebuild-and-replace deployments instead of changing them in place.
How deep it goes
Defines immutability, details the replacement pipeline, and explains drift, rollback, security benefits, and the database exception.
Examples
Uses a security-patch scenario, printed-flyer analogy, and Blue-Green traffic switch with rollback.
What you can do after
Operate a deployment pipeline that builds a patched replacement, verifies it, shifts traffic, and removes the old instance.

Read how Grokking Software Architecture explains immutable infrastructure →

Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

Immutable infrastructure is an infrastructure-management approach in which any configuration change is applied by creating a new resource rather than modifying an existing one.

How it is used
Uses resource replacement to apply infrastructure configuration changes while reducing failure risk and drift.
How deep it goes
Defines replacement and explains reconciliation, but stops short of detailed deployment orchestration.
Examples
Uses Python 2-to-3 server replacement, machine image builders, and an out-of-band server update.
What you can do after
Apply it via infrastructure as code by replacing resources and reconciling emergency mutable changes in version control.

Read how Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform explains immutable infrastructure →

Also covered in

What to know first

Related concepts

Questions about immutable infrastructure

What is immutable infrastructure?

Immutable infrastructure is an infrastructure-management approach in which deployed resources are replaced with newly configured resources rather than modified in place.

Which Manning books explain immutable infrastructure?

Grokking Software Architecture and Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform.

What should I know before learning immutable infrastructure?

Manning books that teach immutable infrastructure usually introduce infrastructure as code first.

What is the difference between immutable infrastructure and mutable infrastructure?

Immutable infrastructure is an infrastructure-management approach in which deployed resources are replaced with newly configured resources rather than modified in place. Mutable infrastructure is an infrastructure-management approach in which resources are modified in place without being recreated or restarted.

What is immutable infrastructure part of?

Immutable infrastructure is part of microservice architecture. Microservice architecture is a software architectural style that structures an application as independently deployable services, typically organized around focused capabilities and communicating through defined interfaces.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.