Promptles
DevOps & Deployment

Immutable Infrastructure

advanced

Definition

A rule that says 'never edit a running server.' If you need a change, you build a fresh server with the new setup and throw the old one away. This avoids the messy situation where servers slowly drift apart over time as people make small tweaks nobody remembers.

In the wild

Instead of logging into a server to install a security update, the team builds a brand-new server image with the update already baked in, spins up replacements, and shuts the old ones down. Every server is always identical to the others: no surprises, no forgotten manual fixes.

More from DevOps & Deployment