# Zero-Downtime Deployment

> Ship a new version while the site stays up the whole time.

**Field:** Software Development  
**Category:** DevOps & Cloud  
**Also known as:** Zero Downtime Deploy, No-Downtime Deployment, Seamless Deployment

## Think of it like

Think of it like a train that gets new seats while it runs. Nobody has to get off.

## Definition

Zero-downtime deployment means shipping a new version while the site keeps working. No user sees an error page or a notice that the site is down. It is reached with plans like rolling, blue-green or canary. Traffic is only sent to a new server once it says that it is ready. Database changes must be done in steps, so old and new code both work.

## Example

Lucy's site deploys six times a day. Thanks to zero-downtime deploys, a user filling in a form never loses it to a restart.

## Why it matters

If every deploy causes an outage, teams deploy less. No outage means you can ship whenever a fix is ready.

## Common mistake

Renaming a database column in one go. The old code still running looks for the old name and crashes.

## Three principles

- **Always up.** No error page.
- **Ready before traffic.** Servers report in first.
- **Data in steps.** Old and new code both work.

## Related terms

- [Deployment Strategy](https://learn.benibix.com/term/development/deployment-strategy)
- [Rolling Update](https://learn.benibix.com/term/development/rolling-update)
- [Blue-Green Deployment](https://learn.benibix.com/term/development/blue-green-deployment)
- [Backward Compatibility](https://learn.benibix.com/term/development/backward-compatibility)

---

Source: https://learn.benibix.com/term/development/zero-downtime-deployment
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
