FerryDocs
ArchitectureDeploy pipeline

Blue-green and recreate

The engine starts new instances next to the old ones, or after them for a service with a disk.

Edit on GitHub
Old instanceanswersNew instancestartsDiskone container only

Blue-green, the default: the old instances continue to answer while the new instances start.

1 / 4
StrategyForWhat the engine does
(default)A service with no diskIt starts the new instances next to the old instances. The old instances answer until the switch.
A service with a It stops the old instance first. Then it starts the new instance.

Why recreate exists

Two containers cannot share a disk safely. Thus a service with a disk has no deploy.

For the user view, see Scaling.

On this page