Scaling
Scale a service horizontally (more replicas) or vertically (more CPU/memory) with lizard scale. Addon storage is grown the same way.
Scale a service
lizard scale --service api --replicas 3
lizard scale --service api --cpu 2 --memory 2048| Flag | Applies to | Allowed values |
|---|---|---|
--replicas <n> | apps | 1–10 |
--cpu <cores> | apps | whole cores: 1, 2, 3, 4 |
--memory <mb> | apps | 128–8192 MB (1 MB steps) |
--storage <mb> | addons only, grow-only | 512, 1024, 2048, 4096, 8192, 16384 |
You can combine flags in a single command. Replica changes roll out without a rebuild.
Horizontal scaling
Run multiple replicas of an app behind the load balancer:
lizard scale --service api --replicas 5Each replica is its own pod. Make sure your app is stateless (store state in Postgres, Redis, or S3) so replicas are interchangeable.
Vertical scaling
Give a single replica more resources:
lizard scale --service api --cpu 4 --memory 8192Growing addon storage
Addon data volumes are grow-only — you can increase storage but not shrink it:
lizard scale --service postgres --storage 8192Verifying
lizard ps # replica status + URL
lizard events # per-replica deploy/scale history
lizard metrics # live CPU / memory / network / disk
lizard metrics --cost # include costSee also
- Observability → Metrics — resource and cost monitoring.
lizard scale— the full command reference.- What CaaS providers charge in 2026 — per-vCPU, per-GB and egress rates across nine platforms, for sizing a bill before you scale.
Updated