Skip to content
BENIBIX Learn

Zero-Downtime Deployment

Development☁️ DevOps & CloudDeployment

Also known as Zero Downtime Deploy, No-Downtime Deployment, Seamless Deployment

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

Think of it like

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

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.

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.

Common mistake

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

Key takeaways

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