🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

DevOps Intermediate

What is Immutable Deployment?

A deployment strategy where new versions replace existing instances entirely rather than updating them in place.

Immutable deployments create entirely new server instances or containers for each release rather than modifying running ones. The old version continues serving traffic until the new version is verified healthy, then traffic switches. This eliminates configuration drift (where servers diverge over time), ensures reproducibility, and makes rollbacks trivial — just route traffic back to the previous version. Technologies like containerization, machine images (AMIs), and Infrastructure as Code enable immutable deployments. The approach aligns with the cattle not pets philosophy of treating servers as disposable and interchangeable.

Related Terms

SRE (Site Reliability Engineering)
An engineering discipline that applies software engineering principles to infrastructure and operations to create reliable systems.
Kubernetes ConfigMap
A Kubernetes object that stores non-sensitive configuration data as key-value pairs, injected into pods as environment variables or files.
GitFlow
A branching model for Git that defines a strict workflow with feature, develop, release, hotfix, and main branches.
Observability
The ability to understand a system's internal state from its external outputs through metrics, logs, and traces.
Runbook
A documented set of standardized procedures for handling routine operations and incident response in production systems.
Terraform
An open-source tool for provisioning and managing cloud infrastructure using declarative configuration files.
View All DevOps Terms →