Rolling Deployments
Strategy to deploy a new version of an application without causing downtime.
They work by creating a single instance of the new version of an application, then shutting off one instance of the old version until all instances have been upgraded
How to:
Create an instance of the new version of the backend
Wait until new copy is up ("healthy")
Delete an instance of the old version of the backend
If any instances of the old version still exist, go back to step 1
Benefits:
Well supported
No huge bursts
Easily reverted
Cons:
Speed (can be slow to run)
API compatibility (Usually can be mitigated by making APIs backwards compatible)
Rolling deployments are relatively simple to understand, and generally well supported by orchestrators. If your users mind when you have downtime, it's an excellent fist step to adopt this strategy.
Last updated