Platform.sh Autoscaling API
Upsun provides native support for autoscaling, allowing your applications to automatically adjust based on resource usage. This ensures that your apps remain responsive under load while helping you optimize costs. You can configure thresholds for metrics such as CPU, RAM, and request latency. Resources will automatically scale to meet demand. Each container profile assigned to an application or service provides a specific combination of CPU and RAM, which you can select via the Upsun UI or CLI. These endpoints manage autoscaling configurations that are tied to a specific environment, and optionally to its child environments. You can define scaling rules based on metrics like CPU, memory, or request latency, and these rules will be applied at both build time and runtime. For more information on configuring autoscaling for your environments, see the [Autoscaling](https://docs.upsun.com/manage-resources/autoscaling.html) section of the documentation.