Learn about scaling Apps CPU, RAM, and containers - manually or automatically
aptible apps:scale
CLI command. Example:
aptible services:autoscaling_policy:set
CLI command.
By default, a Horizontal Autoscaling Operation follows the regular Container Lifecycle and Releases pattern of restarting all current containers when modifying the number of running containers. However, this behavior can be disabled by enabling the Restart Free Scaling (use_horizontal_scale
in Terraform) setting when configuring autoscaling for the service. With restart free scaling enabled, containers are added and removed without restarting the existing ones. When removing containers in this configuration, the service’s stop timeout is still respected. Note that if the service has a TCP, ELB, or GRPC endpoint, the regular full restart will still occur even with restart free scaling enabled.
Container & CPU Threshold Settings
Time-Based Settings
General Settings
aptible apps:scale
CLI command. Example:
aptible services:autoscaling_policy:set
CLI command.
RAM & CPU Threshold Settings
Time-Based Settings
How do I scale my apps and services?