🎁 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

Kubernetes Secret
A Kubernetes object for storing sensitive data like passwords, tokens, and certificates, with base64 encoding and optional encryption at rest.
Container Registry
A storage and distribution service for container images, similar to a package repository but for Docker images.
Rolling Update
A deployment strategy that gradually replaces old application instances with new ones, maintaining availability throughout.
Ansible
An agentless automation tool for configuration management, application deployment, and task automation using YAML playbooks.
Artifact
A packaged, versioned output of a build process — such as a Docker image, JAR file, or compiled binary — ready for deployment.
YAML
A human-readable data serialization language commonly used for configuration files in DevOps tools and applications.
View All DevOps Terms →