Skip to Content
Koyeb is joining Mistral AI to Build The Future of AI Infrastructure. Read More →
ReferenceScaling

Scaling

Koyeb offers flexible scaling options to help you manage the underlying infrastructure supporting your application’s resources.

You can configure your Services to scale automatically based on resource and traffic targets. Alternatively, you can opt for fixed horizontal scaling to maintain a set number of Service Instances.

Autoscaling

Autoscaling allows you to dynamically adjust the number of Service Instances based on configurable resource and traffic targets. Service metrics are continuously monitored to scale the Service up or down to meet the demand.

You can learn more in the Autoscaling section.

Fixed horizontal scaling

Fixed horizontal scaling allows you to define a specific number of Instances for your Service. Each healthy Instance will receive a proportional share of the incoming requests for the region.

This approach is useful when you want to ensure a specific number of Service Instances are always running. It also enhances availability and resilience by distributing the load and accommodating events like hardware or Service issues.

If you’d like your Service to automatically scale the number of Instances according to configurable resource and traffic thresholds, take a look at the autoscaling documentation.

Scale-to-Zero

Scale-to-Zero enables you to automatically scale your Service Instances down to zero when there is no demand. Like autoscaling, Service metrics are monitored to determine when your service should scale down to zero.

You can learn more in the scale-to-zero section.

Manual scaling

Manual scaling lets you explicitly control the number of Instances running for a Service. This mode is useful when you want full control over capacity without relying on automatic scaling rules. Any changes you make directly define the desired Instance count and take precedence over scaling settings defined in the deployment configuration.

Learn more in the Manual Scaling documentation.

Last updated on