You can configure existing instances to use a private pool to increase the capacity usage of the private pool. You can also configure existing instances not to use a private pool so that the private pool can be used to create instances.
Background information
Some examples on how to work with private pools:
Assume that you have used a private pool to create instances and want to create more instances when resources are strained. You can configure the created instances not to use the private pool and then use the private pool to create new instances.
Assume that you do not want to use the private pool associated with a purchased capacity reservation to create instances but you want to use the private pool for existing instances. You can configure the existing instances to use the private pool. This helps improve resource utilization and reduce cost wastes.
Assume that you want to release existing instances to create new ones and want to purchase a capacity reservation to reserve resources. Your request to purchase a capacity reservation is rejected due to insufficient resources. You can set the private pool type to open for your existing instances so that the instances are deemed as matchable resources. Then, you can purchase a capacity reservation.
Procedure
You can configure a private pool only for pay-as-you-go instances.
Log on to the ECS console.
In the left-side navigation pane, choose .
In the upper-left corner of the top navigation bar, select a region.
On the Instances page, use one of the following methods to configure a private pool for one or more instances:
To configure a private pool for a single pay-as-you-go instance, find the instance and choose
in the Actions column.To configure a private pool for multiple pay-as-you-go instances at a time, select the instances and choose
in the lower part of the page.
In the Configure Private Pool dialog box, configure whether to use a private pool and which private pool to use.
To use a specific open or targeted private pool, set Private Pool Type to Target and enter the ID of the private pool in the Private Pool ID field.
NoteThe ID of a private pool is the same as the ID of the elasticity assurance or immediate capacity reservation that is associated with the private pool.
To use an open private pool associated with an elasticity assurance or capacity reservation that has specific tags, set Private Pool Type to Open. Then, add the tags of the elasticity assurance or capacity reservation to the instances. This way, the instances match and use the open private pool.
NoteIf you specify the ID of an open private pool and add the tags of the elasticity assurance or capacity reservation that is associated with another open private pool to the instances, the open private pool whose ID is specified is used. For example, if you specify the ID of Open Private Pool A and add the tags of the elasticity assurance or capacity reservation that is associated with Open Private Pool B, Open Private Pool A is used.
For information about how to edit tags of existing instances, see Edit the tags of an instance. After an instance has matched an open private pool based on tags, if you want to edit the instance tags to match the instance to a different private pool, make sure that the following conditions are met:
The economical mode is enabled for the instance.
The instance is manually stopped and then started.
NoteThe instance cannot be matched to a different open private pool based on new tags when it is restarted.
To use an open private pool that is selected by the system, set Private Pool Type to Open. The system selects an open private pool whose associated elasticity assurance or capacity reservation does not have tags.
If you do not want to use private pools, set Private Pool Type to None. The public pool instead of private pools is used.
Click OK.
What to do next
After you configure a private pool for existing instances, you can check whether and which instances are associated with the private pool on the Private Pools tab. For more information, see View a private pool.