FerryDocs
Concepts

Disks, scaling & suspend

Run more instances of a service, keep files on a disk, and stop, resume or restart a service.

Edit on GitHub
ProxyInstance 1Instance 2runningInstance 3

A service starts with 1 instance.

1 / 4

These operations change what runs. They build nothing new. A scale, a suspend and a resume start or stop of the . A is a new deploy of the live image with the current settings.

The four operations

OperationCommandNew deploy?Downtime
Scaleferry scale NAME NNoNone
Suspendferry suspend NAMENoYes: the proxy answers 503
Resumeferry resume NAMENoUntil the instances accept connections
Restartferry restart NAMEYes (trigger restart), with the live imageNone, but for a service with a disk

Scale a service

Terminal
ferry scale api 3

In this section

On this page