LinuxLXXV · Immutable vs Mutable InfrastructureMutable server
Mutable server traditions - the legacy approach
What you'll learn
- Define mutable server traditions
- Recognise the limitations
- Compare to the immutable approach
- Choose the right approach
Prerequisites
Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09
Mutable server traditions are the legacy approach: servers are updated in place, configured manually, and patched over time. This lesson covers what that means and the limitations.
What mutable means
A mutable server is one that is updated in place:
- Install packages.
- Modify configuration.
- Apply patches.
- Restart services.
The server’s state evolves over time. The current state includes every change ever made.
Why mutable was the norm
Historically, mutable was the only option:
- Manual configuration: each server is configured by an operator.
- In-place updates: packages and patches are applied directly to running systems.
- Incremental changes: changes are made when needed, not redeployed.
For decades, this was the only way to manage servers.
Limitations
Mutable server management has well-known limitations:
- Drift: servers that started identical end up different.
- Snowflake servers: each server is unique; no two are alike.
- Hard to reproduce: “what was the state of web01 on 2026-08-01?” is not answerable.
- Hard to test: changes are applied to production; testing is limited.
- Hard to scale: each server needs manual care.
- Slow recovery: rebuilding a server takes time.
The limitations get worse as the fleet grows.
When mutable is acceptable
Mutable is acceptable for:
- Single-server setups: a handful of servers can be managed manually.
- Stateful services: services that cannot be redeployed (legacy databases, custom hardware).
- Development environments: where reproducibility matters less.
For most production, the limitations of mutable outweigh the simplicity.
Knowledge check
Knowledge check · 3 questions
Q1. What is the main limitation of mutable server traditions?
Q2. Mutable servers cannot be managed at scale.
Q3. Which of the following are limitations of mutable server traditions? Select all that apply.
Passing score: 75%. Answers are checked in this browser.