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

SizeOne instanceInstancesAvailable
Starter0.5 vCPU · 256 MB1–2Yes
Standard1 vCPU · 1 GB1–2Yes
Plus2 vCPU · 4 GB1–2Not yet
Pro4 vCPU · 8 GB1–2Not 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

  1. Open a service in Compute and choose Scaling.
  2. Running now shows what the live deployment uses; Next deployment shows your choice.
  3. Set Instance size and Instances, and save.
  4. Choose Deploy now. The change applies with the next deployment.
  5. A worker runs one instance, so background jobs never run twice.
  6. Cron jobs and functions run as Starter.
  7. 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

HTTP
PUT /v1/projects/{projectId}/compute/services/{serviceId}/scaling?organizationId={organizationId}
Content-Type: application/json

{ "size": "standard", "instances": 2 }
RefusalMeaning
invalid_size, invalid_instancesUnknown size, or not a whole number of at least 1
instances_over_size_limitMore instances than the size allows
instances_not_supportedMore 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.