Updated 2025-02-03

Updating the Size of an Instance Pool

You can manually update the number of instances for an instance pool.

When you increase the size of an instance pool, the pool creates instances using the pool's instance configuration as a template. To add existing instances to the pool, you can instead attach instances to the pool.

When you decrease the size of an instance pool, the pool deletes (terminates) the extra instances. Instances are terminated in this order: the number of instances is balanced across availability domains, and then balanced across fault domains. Finally, within a fault domain, the oldest instance is terminated first. If you need to perform tasks on an instance before deletion, then detach the instance from the pool and then delete the instance separately.

To automatically adjust the number of instances in an instance pool based on performance metrics or a schedule, enable autoscaling for the instance pool.

To determine whether capacity is available for a specific shape before you resize an instance pool, use the CreateComputeCapacityReport operation.

Updated 2025-02-03