Scale

Adjust regions, instances, and resource allocation.

Show current scaling

relight scale myapp
relight scale myapp --json

Set regions

relight scale myapp -r enam,weur
relight scale myapp --regions enam,weur,apac

Available region hints: wnam, enam, sam, weur, eeur, apac, oc, afr, me. These are translated to the closest provider region.

Set instances

relight scale myapp -i 3              # 3 instances per region
relight scale myapp -r enam,weur -i 2 # 2 instances in each region

Set resources

relight scale myapp --vcpu 1 --memory 512
relight scale myapp --instance-type standard

Instance type presets:

TypevCPUMemory
lite0.0625128 MiB
base0.5256 MiB
standard1512 MiB
large21024 MiB

You can also set disk space:

relight scale myapp --disk 5000    # 5GB disk

List available regions

relight regions
relight regions --compute gcp
relight regions --json