Scale a service
A service’s capacity is controlled in two places: Autoscaling, which scales the number of replicas, and Resources, which sets the CPU and memory each replica gets.
Configure autoscaling
Section titled “Configure autoscaling”- Open a service and go to Settings → Autoscaling.
- Turn on Enable Autoscaling.
- Set Minimum Replicas and Maximum Replicas (1–10 each).
- Set the CPU Threshold (10%–90%) — the average CPU usage across replicas that triggers scaling up.
- Click Save.
With autoscaling enabled, the service scales up toward the maximum when average CPU usage exceeds the threshold, and back down toward the minimum when usage drops.
Configure resource allocation
Section titled “Configure resource allocation”- Open a service and go to Settings → Resources.
- Under Application size, pick a preset — Nano, Micro, Small, Medium, Large, or WordPress — or choose Custom to set your own limits.
- If you chose Custom, set Memory (250–8000 MB) and CPU (0.25–4 vCPU) with the sliders.
- Click Save.
| Preset | CPU | Memory |
|---|---|---|
| Nano | 0.25 vCPU | 256 MB |
| Micro | 0.5 vCPU | 512 MB |
| Small | 1 vCPU | 1000 MB |
| Medium | 2 vCPU | 2000 MB |
| Large | 4 vCPU | 4000 MB |
| WordPress | 1 vCPU | 1500 MB |