Services and scaling
Set resource ceilings, configure instances and scale-to-zero, understand tier quotas, and start or stop services.
Resource ceilings
Each service has a vCPU and memory ceiling (limit) per instance. Unlike fixed-size VPS plans, you are billed only for the actual CPU and memory your container consumes up to this ceiling — unused headroom costs nothing.
New app services start with your workspace tier's default ceiling. You can adjust it in Service settings → Resources within your tier's bounds:
| Tier | Default ceiling | Max ceiling / service | Max instances | Idle delay | Workspace quota |
|---|---|---|---|---|---|
| Free | 0.5 vCPU / 512 MiB | 1 vCPU / 1 GiB | 1 | 60 s | 4 vCPU / 4 GiB |
| Starter | 1 vCPU / 2 GiB | 2 vCPU / 4 GiB | 3 | 5 min | 12 vCPU / 24 GiB |
| Pro | 2 vCPU / 4 GiB | 4 vCPU / 8 GiB | 5 | 5 min | 24 vCPU / 48 GiB |
Custom ceilings follow these rules:
- Minimum 0.5 vCPU, in steps of 0.25 vCPU, up to your tier's maximum (1, 2 or 4 vCPU).
- Minimum 512 MiB of memory, in steps of 256 MiB, up to your tier's maximum (1, 4 or 8 GiB).
- 1 to 4 GiB of memory per vCPU.
Actual compute is billed at Rp 60 per vCPU-hour plus Rp 40 per GiB-hour, metered per second. See Billing for rates, tiers and the pricing usage simulator.
Instances, sleep and always on
- Set a minimum of 0 to your tier's maximum, and a maximum of 1 to your tier's cap (1 on Free, 3 on Starter, 5 on Pro).
- With a minimum of 0, the service sleeps when it has no traffic (after 60 seconds on Free, or 5 minutes on Starter and Pro) and costs nothing for compute while asleep. The next request wakes it, so that request waits for the app to start.
- With a minimum of 1 or more, the service is always on (supported on all tiers, up to 1 instance on Free). Use this for apps that run scheduled jobs or must answer instantly.
- With a maximum above 1 (Starter and Pro), Nanpod adds instances when traffic grows. It scales on in-flight requests per instance, not on CPU.
Concurrency
Concurrency is the most requests one instance handles at the same time (1–1000). When you leave it empty, Nanpod picks a sensible default from the resource ceiling (for example 10 for 0.5 vCPU / 512 MiB and 20 for 1 vCPU / 2 GiB). Nanpod adds an instance when instances reach 60% of it. Lower it for CPU-heavy apps.
Workspace quota
Your workspace's total runtime quota depends on your active tier: 4 vCPU / 4 GiB on Free, 12 vCPU / 24 GiB on Starter, and 24 vCPU / 48 GiB on Pro. Each active service reserves its configured ceiling plus a small request proxy (0.5 vCPU and 512 MiB, never billed) for every instance up to its maximum. Sleeping services keep their reservation.
Paid tiers (Starter and Pro) also receive priority scheduling on runtime nodes. You can view your live quota usage in Billing → Limits & quotas.
Start, stop and delete
- Stop removes every instance. The URL stops answering and compute billing stops. Variables, volumes and history are kept.
- Start runs the last successful version again. Saved changes are not included; use Deploy latest to apply them.
- Delete removes the service permanently, after you type its name. Deleting a project deletes all of its services.
A service with a volume runs at most one instance, and deploys stop the old version before starting the new one. See Databases and volumes.