All Products
Search
Document Center

Elastic Compute Service:Reserve capacity with private pools for instance replacement

Last Updated:May 15, 2026

Reserve capacity with a private pool to prevent re-creation failures when replacing ECS instances of high-demand instance types.

Billing

This example assumes you release Instance A and create Instance B of the same instance type.

  • If the private pool capacity is fully used by ECS instances, you are charged only for the instances, not for the private pool.

  • If the private pool capacity is not fully used, you are charged for the unused capacity.

    In this case, you pay for Instance A, Instance B, and the unused capacity during the gap between releasing Instance A and creating Instance B.

    Step

    Used/total capacity

    Billing

    Create a private pool

    1/1

    Charged for Instance A only.

    Release Instance A

    0/1

    Charged for the unused private pool capacity.

    Create Instance B

    1/1

    Charged for Instance B only.

    The following figure shows billing for the instances and the private pool.

    image

Procedure

This example assumes you release Instance A and create Instance B of the same instance type.

Step 1: Set the private pool type of Instance A to Open

  1. Go to ECS console - Instances.

  2. In the upper-left corner of the page, select a region and resource group.地域

  3. On the Instance page, click the target instance ID. Click All Actions in the upper-right corner, then search for and click Configure Private Pool.

  4. In the Configure Private Pool dialog box, set Private Pool Type to Open and click OK.

    image

Step 2: Create a private pool for the instance type of Instance A

  1. Go to the Create Resource Reservation page.

    1. Go to ECS console - Resource Advisor.

    2. Choose Guaranteed Provision > Resource Reservations.

    3. On the Resource Reservations tab, click Create Resource Reservation.

  2. On the Create Resource Reservation page, configure the following parameters.

    Parameter

    Description

    Resource Type

    Select the instance type of Instance A.

    Reservation Type

    Select Immediate Capacity Reservation.

    Expiration Method

    Select a value based on your needs. In this example, select Manual Release.

    Private Pool Type

    Select Open.

  3. Click Next: Preview and follow the instructions to complete the creation.

Step 3: Release Instance A and create Instance B

  1. On the Resource Reservations page, click the Private Pools tab. Find the private pool created in Step 2 and click Details in the Actions column.

    image

  2. On the private pool details page, verify the association between the private pool and ECS instances.

    The Resource Details tab shows that Instance A is automatically associated with the private pool. Total capacity: one instance. Used capacity: one instance.

    image

  3. Release Instance A.

    After the instance is released, the private pool shows total capacity: one instance, used capacity: zero.

    image

  4. On the Resource Details tab, click Purchase Instance to create Instance B.

    image