Create a resource reservation

更新时间:
复制 MD 格式

When you create a resource reservation, Alibaba Cloud sets aside resources with matching attributes in a private pool. This guarantees that you can create instances using the private pool's capacity.

Background

Create a reservation plan based on your use case, resource type, and effective time. For more information, see Resource Advisor overview.

Procedure

  1. Navigate to the Create Resource Reservation page.

    1. Go to ECS console - Resource Advisor.

    2. Choose Guaranteed Provision > Create Resource Reservation.

    3. On the Create Resource Reservation tab, click Create Resource Reservation.

  2. On the Demand Configurations page, configure the resource reservation parameters.

    1. In the Resource Settings section, configure the resource attributes.

      Parameter

      Description

      Example

      Region and Zone

      The region and zone where you want to reserve resources.

      China (Hangzhou) zone I, China (Hangzhou) zone H

      Resource Type

      The instance type to reserve. In addition to attributes such as vCPUs and memory, we recommend that you also consider the following metrics:

      • Supply Health: Reflects the real-time supply status of a specific instance type based on inventory sufficiency, replenishment capacity, and popularity. High inventory sufficiency and replenishment capacity lead to better supply health, while high popularity leads to poorer supply health. The score ranges from -3 to 6.

        • 5 to 6: High supply certainty.

        • 1 to 4: Supply is not guaranteed. The resource reservation may fail to be created.

        • -3 to 0: A supply health warning is triggered. We recommend that you select a different instance type. In the Operation column for the instance type, you can click Alternatives Recommended to view recommendations.

      • Quota: The maximum number of instances of this type that you can purchase. We recommend that you set a reasonable reserved quantity based on your quota to avoid failures when you create instances from the reserved resources.

      ecs.c7.large, ecs.g7.large

      Reserved Quantity

      The quantity of resources to reserve. If you select a single instance type, the unit is Instances. If you select multiple instance types, the unit is vCPUs.

      10 vCPU

    2. In the Resource Reservation Settings section, configure the reservation type, effective time, and other settings.

      The following tables list the configuration parameters for different reservation types. For more information about the usage workflow for each type, see Elasticity assurance workflow, Immediate capacity reservation workflow, and Scheduled capacity reservation workflow.

      Table 1. Immediate or scheduled elasticity assurance

      Parameter

      Description

      Example

      Reservation Type

      Select Immediate or Scheduled Elasticity Assurance.

      Immediate or Scheduled Elasticity Assurance

      Instance Billing Method

      This parameter is fixed to Pay-as-you-go because elasticity assurance guarantees capacity only for pay-as-you-go instances.

      Pay-as-you-go

      Effective Time

      The time when the elasticity assurance takes effect. Valid values:

      • Now: The elasticity assurance takes effect immediately after it is created and reserves resources to guarantee the delivery of pay-as-you-go instances.

      • Specify Effective Time: The elasticity assurance takes effect at a specified time after it is created and reserves resources to guarantee the delivery of pay-as-you-go instances.

      Now

      Duration

      Valid durations range from 1 month to 5 years. The available options are displayed on the page.

      1 Month

      Table 2. Scheduled capacity reservation

      Parameter

      Description

      Example

      Reservation Type

      Select Scheduled Capacity Reservation.

      Scheduled Capacity Reservation

      Instance Billing Method + Payment Option

      The type of resources for which this capacity reservation guarantees delivery. Valid values:

      • Pay-as-you-go + Savings Plan: This option is a capacity reservation with Savings Plan, which guarantees the delivery of pay-as-you-go instances. When you purchase this type of reservation, a Savings Plan is purchased at the same time to offset the bills of pay-as-you-go instances for cost optimization.

      • Subscription: This option is a capacity reservation for subscription resources, which guarantees the delivery of subscription instances. After you purchase this type of reservation, you must use the private pool capacity to create subscription instances within the pickup period. After the pickup period, resources are no longer reserved. If there is idle capacity during the pickup period, you are still charged based on the pay-as-you-go billing standard for the instance type.

      Pay-as-you-go + Savings Plan

      If you select Pay-as-you-go + Savings Plan, configure the following parameters:

      • Effective Time

      • Duration

      • Saving Plan Type

      • Billing Method

      • Effective Time: The time when the capacity reservation with Savings Plan takes effect. The time must not be earlier than 3 days or later than 1 year after the creation time.

      • Duration: 1 Year and 3 years are supported.

      • Saving Plan Type: General-purpose Type and ECS Compute are supported. A general-purpose plan can be used across products and has no region or instance family restrictions. An ECS Compute plan is applicable only to ECS instances within a single region and specific instance families, but it offers a greater discount than a general-purpose plan.

      • Billing Method: Currently, only No Upfront is supported.

      For more information about Savings Plans, see What is a Savings Plan?.

      • Effective Time: 2023-05-01 09:00

      • Term: 1 year

      • Savings Plan type: ECS Compute

      • Payment Option: No Upfront

      If you select Subscription, configure the following parameters:

      • Effective Time

      • Expiration Time

      • Effective Time: The time when the capacity reservation for subscription resources takes effect. The time must not be earlier than 3 days or later than 1 year after the creation time.

      • Expiration Time: This is automatically calculated. The interval between the effective time and the expiration time is 7 days. You can use the private pool capacity to create subscription instances only during this period.

      • Effective Time: 2023-05-01 09:00

      • Expiration Time: 2023-05-08 09:00

      Table 3. Immediate capacity reservation

      Parameter

      Description

      Example

      Reservation Type

      Select Immediate Capacity Reservation. This creates an immediate capacity reservation.

      Immediate Capacity Reservation

      Instance Billing Method

      This parameter is fixed to Pay-as-you-go. An immediate capacity reservation can guarantee capacity only for pay-as-you-go instances.

      Pay-as-you-go

      Expiration Method

      The method used to release the immediate capacity reservation.

      • Manual Release: After the immediate capacity reservation is purchased, it persists until you manually release it.

      • Release Upon Expiration: You must set an expiration time. The immediate capacity reservation is automatically released at the specified time. The minimum term is 1 hour.

      Manual Release

      Operating System

      Linux and Windows are supported. The reservation guarantees delivery only for instances that use the same operating system. If you want to use regional reserved instance coupons to optimize costs, make sure that the operating system is the same.

      Linux

    3. In the Private Pool Information section, configure the settings for creating the private pool.

      The following table describes the configuration parameters for creating a private pool. For the complete workflow of creating and using a private pool, see Resource Advisor overview.

      Parameter

      Description

      Example

      Private Pool Type

      Open and Targeted types are supported. You can plan your resources based on business needs by preparing a certain amount of Open and Targeted private pools. For example, use Targeted private pools for critical business and Open private pools for other business needs. The private pool type affects how it is used:

      • Open private pools are more flexible. When you create an instance, you can perform one of the following operations:

        • Specify the ID of the Open private pool.

        • If tag matching is enabled for the Open private pool, you can opt to use an Open private pool without specifying an ID. If you bind the same tag to the instance, it automatically matches and uses that Open private pool.

        • If tag matching is not enabled for the Open private pool, you can opt to use an Open private pool without specifying an ID. The system automatically selects an untagged Open private pool.

      • Targeted private pools have stricter usage. You must specify the ID of the Targeted private pool when you create an instance.

      Open

      Private Pool Name

      The name of the private pool. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with http:// or https://. The name can contain digits, periods (.), colons (:), underscores (_), and hyphens (-).

      iCR-****-20211021

      Description

      A description of the private pool to help with future maintenance. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

      Guarantees instance delivery for critical business A.

    4. (Optional) In the Tags (Optional) section, configure tags.

      Common use cases for tags include batch operations and maintenance and cost allocation. For more information about the concepts and usage of tags, see Tags.

      Binding a tag enables more granular matching for Open private pools. If tag matching is enabled for an Open private pool, you can create an instance, select to use an Open private pool without specifying an ID, and then bind the same tag to the instance. This automatically matches the instance to that Open private pool.

      Note

      After a resource reservation takes effect, its private pool is always matched based on the tags that are bound at the time of purchase. Therefore, we recommend that you do not edit the tags of an existing resource reservation.

    5. In the Specifications Recommendations section, select a resource plan as needed.

      In addition to your original plan, Alibaba Cloud provides more recommended plans based on inventory priority, multi-zone disaster recovery, and performance priority.recommended-solution

      If no plans are displayed or if the available plans do not meet your requirements, click Submit Demand Order to request a resource reservation.

      Note

      Submitting a demand order is supported only for capacity reservation for subscription resources. If you cannot find this option, contact your account manager to enable it.

      image

    6. Click Next: Preview.

  3. On the Preview page, confirm the information for the resource reservation.

    confirm-info

    1. In the Resource Reservation Overview section, confirm the attributes of the resource reservation.

      This includes the number of instances to reserve, the instance billing method, and the private pool type.

    2. In the Resource Plan section, confirm the resource details for the plan.

      This includes the instance type name, zone, reference price, and specification metrics for the reserved resources.

      Note

      Each resource reservation applies to only one instance type and one zone. If the plan you select includes multiple instance types or multiple zones, it is automatically split into multiple resource reservations.

    3. In the Notes section, read the information. If you agree, select Agreed, and then click Create.

  4. On the Completed page, the purchase is complete when the resource reservation's status changes to Active.

Next steps

Return to the Create Resource Reservation tab. After the reservation status becomes Active, you can use the capacity in the private pool to create guaranteed instances. For instructions, see Create an instance from a private pool.created-icr

Related documents