Sizes and scaling
Choose an instance size and the number of instances for each hosted service on DASTER, and see how scaling affects your usage.
Last updated
Sizes
| Size | One instance | Instances | Available |
|---|---|---|---|
| Starter | 0.5 vCPU · 256 MB | 1–2 | Yes |
| Standard | 1 vCPU · 1 GB | 1–2 | Yes |
| Plus | 2 vCPU · 4 GB | 1–2 | Not yet |
| Pro | 4 vCPU · 8 GB | 1–2 | Not yet |
Each instance gets exactly the CPU and memory listed. Plus and Pro are not offered in Mumbai yet: choosing one answers size_not_available (409).
Hosting › Sizes & pricing marks every size your plan allows as Available now. You pick a size in the Deploy an app wizard.
Note: Prices are not final.
Change size or instances
- Open a service in Compute and choose Scaling.
- Running now shows what the live deployment uses; Next deployment shows your choice.
- Set Instance size and Instances, and save.
- Choose Deploy now. The change applies with the next deployment.
- A worker runs one instance, so background jobs never run twice.
- Cron jobs and functions run as Starter.
- With more than one instance, every instance must pass the health check before the deployment serves traffic. Requests are sent to the instances in turn.
Changing a size changes cost, so it needs manage permission (Owners, Admins and Maintainers). To let a web service add and remove instances with its traffic, see Autoscale.
With the API
PUT /v1/projects/{projectId}/compute/services/{serviceId}/scaling?organizationId={organizationId}
Content-Type: application/json
{ "size": "standard", "instances": 2 }| Refusal | Meaning |
|---|---|
invalid_size, invalid_instances | Unknown size, or not a whole number of at least 1 |
instances_over_size_limit | More instances than the size allows |
instances_not_supported | More than one instance of a worker |
size_not_supported (409) | Cron jobs and functions run as Starter only |
size_not_in_plan (403) | Your plan does not allow this size |
size_not_available (409) | The size is not offered in this region yet |
Usage
GET /v1/projects/{projectId}/compute/usage?organizationId=…&period=current returns measured running time by size, build time and transfer for each app. It returns no prices.