Create a warm pool for an Auto Scaling group - Amazon EC2 Auto Scaling

Create a warm pool for an Auto Scaling group

This topic describes how to create a warm pool for your Auto Scaling group.

Important

Before you continue, complete the prerequisites for creating a warm pool and confirm that you have created a lifecycle hook for your Auto Scaling group.

Create a warm pool

Use the following procedure to create a warm pool for your Auto Scaling group.

To create a warm pool (console)
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/, and choose Auto Scaling Groups from the navigation pane.

  2. Select the check box next to an existing group.

    A split pane opens up at the bottom of the page.

  3. Choose the Instance management tab.

  4. Under Warm pool, choose Create warm pool.

  5. To configure a warm pool, do the following:

    1. For Warm pool instance state, choose which state you want to transition your instances to when they enter the warm pool. The default is Stopped.

    2. For Minimum warm pool size, enter the minimum number of instances to maintain in the warm pool.

    3. For Instance reuse, select the Reuse on scale in check box to allow instances in the Auto Scaling group to return to the warm pool on scale in.

    4. For Warm pool size, choose one of the available options:

      • Default specification: The size of the warm pool is determined by the difference between the maximum and desired capacity of the Auto Scaling group. This option streamlines warm pool management. After you create the warm pool, its size can be easily updated just by adjusting the maximum capacity of the group.

      • Custom specification: The size of the warm pool is determined by the difference between a custom value and the desired capacity of the Auto Scaling group. This option gives you flexibility to manage the size of your warm pool independently from the maximum capacity of the group.

  6. View the Estimated warm pool size based on current settings section to confirm how the default or custom specification applies to the size of the warm pool. Remember, the warm pool size depends on the desired capacity of the Auto Scaling group, which will change if the group scales.

  7. Choose Create.

Delete a warm pool

When you no longer need the warm pool, use the following procedure to delete it.

To delete your warm pool (console)
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/, and choose Auto Scaling Groups from the navigation pane.

  2. Select the check box next to an existing group.

    A split pane opens up at the bottom of the page.

  3. Choose the Instance management tab.

  4. For Warm pool, choose Actions, Delete.

  5. When prompted for confirmation, choose Delete.