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.
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
-
Go to ECS console - Instances.
In the upper-left corner of the page, select a region and resource group.
-
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.
-
In the Configure Private Pool dialog box, set Private Pool Type to Open and click OK.

Step 2: Create a private pool for the instance type of Instance A
-
Go to the Create Resource Reservation page.
-
Choose .
-
On the Resource Reservations tab, click Create Resource Reservation.
-
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.
-
Click Next: Preview and follow the instructions to complete the creation.
Step 3: Release Instance A and create Instance B
-
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.

-
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.

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

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