Skip to content

Deployment Strategies

The Basic Deployment

  • Just deploy new version to all nodes.
  • Pro: Simple, fast and cheap
  • Con: The Rickiest
  • Use this if the service
    • is not revenue-critical or
    • has official off-hour

Rolling Deployment

  • Deploy new version to some nodes.
  • Pro: Simple to rollback
  • Con: Need to support old and new version.

Blue-Green Deployment

  • Prepare two enviroments: (Staging, Production). Swap them after deploy and test ok on staging.

  • Pro:

    • Simple, fast
    • Easy to rollback
  • Con:

    • Costly

Changelog

Just observe 👀