Deployment Strategies

Top 5 Strategies

Big Bang Deployment

Cons: Causes a bit of downtime as we have to shutdown the old system to switch to the new one

Big Bang Deployment 1

Situation:

  • When deploy application but it failed to start or testing failed
  • Encounter intricate database upgrade

Solution: Roll Back

Overview:

Big Bang Deployment 2

Rolling Deployment

Cons: Slowly process

Rolling Deployment 1

Overview:

Rolling Deployment 2

Blue-Green Deployment

Pros: No downtime

  • When QA team finished testing on green servers (New Version), make load balancer switch to green
  • If found issues on green, can easily roll back to blue servers (Old Version)

Blue-Green Deployment

Canary Deployment

Often combined with Rolling Deployment

Canary Deployment 1

Require infrastructure tooling to monitor these servers

Canary Deployment 2

Feature Toggle

Pros: Can combine with other deployment strategies

Feature Toggle 1

Testing:

Feature Toggle 2