All Products
Search
Document Center

Elastic Compute Service:use a private pool to create ECS instances

Last Updated:Mar 27, 2024

After you purchase a resource reservation, Alibaba Cloud reserves resources that match the attributes of the resource reservation in a private pool. You can use the reserved resources to create instances. This topic describes how to use a private pool to create Elastic Compute Service (ECS) instances.

Prerequisites

  • The private pool that you want to use is in the Active state.

  • The private pool has available capacity. For information about how to view the resource usage of a private pool, see View a private pool.

Procedure

This section describes only the private pool-related parameters involved in the procedure for creating ECS instances. For information about other parameters involved in the procedure for creating ECS instances, see Create an instance on the Custom Launch tab.

  1. In the ECS console, go to the Custom Launch tab of the instance buy page.

  2. Configure the basic settings.

    The following table describes the parameters related to the basic settings.

    Parameter

    Description

    Billing Method

    • To use the private pool that is associated with an elasticity assurance, an immediate capacity reservation, or a capacity reservation with Savings Plan, set this parameter to Pay-as-you-go.

    • To use the private pool that is associated with a capacity reservation for subscription resources, set this parameter to 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.

    Image

    To use the private pool that is associated with an immediate capacity reservation, select a Linux or Windows image.

  3. Configure the parameters in the Storage, Bandwidths & Security Groups, and Management sections. Then, click Advanced Settings(Optional).

  4. In the Advanced Settings(Optional) section, configure the parameters based on your business requirements. In the Private Pool Type field, specify whether to use a private pool and how to use the private pool.

    • Specify the ID of a private pool: When you create instances, select Targeted from the Private Pool Type drop-down list and specify the ID of the private pool that you want to use. The ID of a private pool is the same as the ID of the associated resource reservation. If the specified private pool has no available capacity, instances cannot be created.

      Note

      You can specify the ID of an open private pool or a targeted private pool to use the private pool.

    • Add tags to match an open private pool: If you add tags to a resource reservation at the time of purchase, the same tags are added to the private pool that is associated with the resource reservation, and instances to which the same tags are added can be matched with the private pool. When you create instances, select Open from the Private Pool Type drop-down list and add tags to the instances. Then, resources in the matching private pool can be used to create the instances. If the private pool has no available capacity, the system uses the public pool.

      Note

      Only open private pools can be matched by tag.

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

    • Use an open private pool that is assigned by the system: If you do not add tags to instances, the instances cannot be matched with an open private pool by tag. When you create instances, select Open from the Private Pool Type drop-down list. The system selects an open private pool to which no tag is added. If the specified private pool has no available capacity, the system uses the public pool.

      Note

      The system selects only open private pools.

    • Specify not to use private pools: When you create instances, select None from the Private Pool Type drop-down list. The public pool is used.

  5. Check your configurations and read the terms of service. Confirm to create the instance and complete the payment.

What to do next

After you use a private pool to create instances, you can check whether the instances are created and which instances are associated with the private pool on the Private Pools tab of the Resource Advisor page. For more information, see View a private pool.