Skip to main content

Usage

zwrm scale <count>
The scale command adjusts the number of running machines for your application.

Arguments

ArgumentTypeDescription
countint (required)Target number of machines (0 or more)

Flags

FlagTypeDefaultDescription
--appstringfrom zwrm.tomlApplication name
--app-idstringApplication UUID

Examples

Scale to 3 machines:
zwrm scale 3
Scale down to 1 machine:
zwrm scale 1
Scale to zero (stops all machines):
zwrm scale 0

How scaling works

Scaling up creates new machines using the image from your latest deployment. Scaling down destroys the most recently created machines first. Machines in a stopped or failed state are skipped during scale-down.