Scale instance count
render_scale_serviceManually scale a Render service to a fixed number of instances, turning off autoscaling. Provide the service ID and desired instance count.
Instructions
Scale instance count. Scale the service with the provided ID to a fixed number of instances. Render ignores this value as long as autoscaling is enabled for the service. Calls POST /services/{serviceId}/scale on the Render Public API. Usage: Sets a fixed instance count and turns off autoscaling. To scale on load instead, use render_autoscale_service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | The ID of the service | |
| numInstances | Yes |