Use reserved resources from an elasticity assurance or capacity reservation to create ECS instances with guaranteed resource availability.
When you release a reserved Bare Metal Instance, the private pool capacity occupied by the instance takes a long time to become active again. New instances created with this capacity may fail during this period. Plan the release time and frequency accordingly.
Prerequisites
-
The private pool is in the Active state.
-
The private pool has available capacity. To check resource usage, see View reserved resources in a private pool.
Procedure
Use the ECS console
This section covers only private pool-related parameters. For other parameters, see Create an instance with Custom Launch.
-
Go to the ECS instance buy page by using one of the following methods:
-
On the Instance page, click Create Instance.

-
On the Resource Reservations page, find a resource reservation that is in the Active state and click Buy Instance in the Actions column.

-
-
Configure the basic settings.
The following table describes the private pool-related basic settings.
Parameter
Description
Billing Method
-
To use a private pool associated with an elasticity assurance, an immediate capacity reservation, or a capacity reservation with Savings Plan, select Pay-as-you-go.
-
To use a private pool associated with a capacity reservation for subscription resources, select Subscription.
Region
Select the same region as the resource reservation.
Network and Zone
Select the same network and zone as the resource reservation.
Instance
Select the same instance type as the resource reservation.
Images
For an immediate capacity reservation, select the same Linux or Windows operating system as the reservation.
-
-
Configure Block Storage, Bandwidths & Security Groups, and Management Settings. Then, click Advanced Settings(Optional).
-
In Advanced Settings(Optional), configure the parameters. In Private Pool Type, specify whether and how to use a private pool.
-
Specify a private pool ID: Select Targeted from Private Pool Type and enter the private pool ID. The private pool ID is the same as the resource reservation ID. If the specified pool has no available capacity, instance creation fails.
NoteYou can specify the ID of an open or targeted private pool.
-
Use a system-assigned open private pool. Select Open from Private Pool Type. The system automatically selects a matching open private pool. If the pool has no available capacity, public pool resources are used.
NoteThe system selects only open private pools.
-
Do not use private pool capacity. Select Do Not Use from Private Pool Type. The public pool is used.
-
-
Review your configurations, agree to the terms of service, and complete the payment.
Call an API operation
Call the RunInstances operation and set the PrivatePoolOptions.MatchCriteria parameter to specify the private pool type.
-
Open: The system selects a matching open private pool. If no match is found, public pool resources are used. You can leave
PrivatePoolOptions.Idempty. -
Target: The system uses capacity from a specified private pool. If the pool is unavailable, instance creation fails. You must specify
PrivatePoolOptions.Id. -
None: Private pool capacity is not used. The public pool is used.
Next steps
Verify instance creation and private pool associations on the Private Pools tab of the Resource Advisor page. See View reserved resources in a private pool.