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

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. 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 at a time, find the instance and choose More > Instance Settings > Configure Private Pool in the Actions column.
    • To configure a private pool for multiple pay-as-you-go instances at a time, select the instances and choose More > Instance Settings > Configure Private Pool in the lower part of the page.
  5. In the Configure Private Pool dialog box, configure whether to use a private pool and which private pool to use.
    • Manually specify the ID of a private pool to use. Set Private Pool Type to Target and specify the ID of an open or targeted private pool.
      Note The 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.
    • Manually add tags to match an open private pool. Set Private Pool Type to Open and add the tags of an elasticity assurance or capacity reservation to the instances. The instances match and use the open private pool that is associated with the elasticity assurance or capacity reservation.
      Note If you specify the ID of an open private pool and add the tags of the elasticity assurance or capacity reservation associated with another open private pool to 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 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.
        Note The instance cannot be matched to another open private pool based on new tags when it is restarted.
    • 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.
    • Specify not to use private pools. Set Private Pool Type to None. The public pool instead of private pools is used.
  6. 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.