Reserve compute resources in a private pool to guarantee ECS instance creation capacity.
Background
Different reservation types suit different scenarios, resource needs, and effective times. See the Resource Reservation section in "Overview of Resource Advisor".
Procedure
-
Go to the Create Resource Reservation page.
-
Choose .
-
On the Resource Reservations tab, click Create Resource Reservation.
-
In the Demand Configurations step, configure the resource reservation parameters.
-
In the Resource Settings section, configure the following parameters.
Parameter
Description
Example
Region/Zone
The region and zone in which to reserve resources.
Region: China (Hangzhou). Zone: Zone I and Zone H.
Resource Type
The instance types to reserve. In addition to instance attributes such as vCPUs and memory size, consider the following metrics:
-
Provision Health: real-time resource availability scored from -3 to 6, based on stock level, replenishment capacity, and popularity.
-
5–6: sufficient resources available.
-
1–4: resources may be insufficient.
-
-3–0: poor availability. Click Alternatives Recommended in the Actions column to view alternative instance types.
-
-
Quota: the maximum purchasable instance count for a specific type. Set the reserved quantity within this quota.
ecs.c7.large and ecs.g7.large
Reserved Quantity
The number of resources to reserve. Measured in Instances for a single instance type, or in vCPU for multiple instance types.
10 vCPU
-
-
In the Resource Reservation Settings section, configure parameters such as Reservation Type and Effective Time.
The parameters vary by reservation type. See Overview of Elasticity Assurance, Overview of Immediate Capacity Reservation, and Overview of Scheduled Capacity Reservation.
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
Automatically set to Pay-as-you-go. Elasticity assurance private pools support only pay-as-you-go instances.
Pay-as-you-go
Effective Time
The time when the elasticity assurance takes effect. Valid values:
-
Immediately: Takes effect upon creation. Pay-as-you-go instances can be created immediately.
-
Custom Time: Takes effect at a specified time.
Immediately
Term
The validity period. Available durations range from one month to five years.
1 Months
Table 2. Scheduled capacity reservation
Parameter
Description
Example
Reservation Type
Select Scheduled Capacity Reservation.
Scheduled Capacity Reservation
Instance Billing Method + Payment Option
The scheduled capacity reservation type and instance billing method. Valid values:
-
Pay-as-you-go + Savings Plan: Reserves capacity for pay-as-you-go instances. You must also purchase a savings plan to reduce costs on instances created from the reservation.
-
Subscription: Reserves capacity for subscription instances. After the reservation takes effect, resources are held in a private pool for the validity period. An effective reservation is billed at the equivalent pay-as-you-go rate regardless of whether the capacity is used. When the reservation expires, reserved resources are released.
Pay-as-you-go + Savings Plan
If you set Instance Billing Method + Payment Option to Pay-as-you-go + Savings Plan, configure the following parameters:
-
Effective Time
-
Term
-
Saving Plan Type
-
Payment Option
-
Effective Time: Three days to one year from the creation time.
-
Term: Valid values: 1 Years and 3 Years.
-
Saving Plan Type: Valid values: General-purpose and ECS Compute. A general-purpose savings plan applies across Alibaba Cloud services regardless of region and instance family. An ECS compute savings plan applies only to a specific instance family in a region but offers higher discounts.
-
Payment Option: Only No Upfront.
See Overview for savings plan details.
-
Effective Time: 2023-05-01 09:00
-
Term: 1 Years
-
Saving Plan Type: ECS Compute
-
Payment Option: No Upfront
If you set Instance Billing Method + Payment Option to Subscription, configure the following parameters:
-
Effective Time
-
Expiration Time
-
Effective Time: Three days to one year from the creation time.
-
Expiration Time: Automatically set to seven days after the effective time. Reserved resources can be used to create subscription instances only within 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.
Immediate Capacity Reservation
Instance Billing Method
Automatically set to Pay-as-you-go. Immediate capacity reservation private pools support only pay-as-you-go instances.
Pay-as-you-go
Expiration Method
The release method. Valid values:
-
Manual Release: The reservation exists until you manually release it.
-
Release Upon Expiration: Automatically released at the specified expiration time, which must be at least 1 hour from the current time.
Manual Release
Operating System
The OS type (Linux or Windows). Instances created from this reservation must use the same OS type. To pair with a regional reserved instance for cost savings, ensure matching OS types.
linux
-
-
In the Private Pool Information section, configure the private pool parameters.
See the Private Pool section in "Overview" for details on creating and using private pools.
Parameter
Description
Example
Private Pool Type
Valid values: Open and Targeted. Use targeted pools for critical workloads and open pools for others.
-
Open private pools support flexible matching:
-
Specify the ID of an open private pool.
-
If tag matching is enabled, set Private Pool Type to Open without specifying a pool ID. Add the tags of the associated elasticity assurance or capacity reservation. The matching pool is automatically used.
-
If tag matching is not enabled, set Private Pool Type to Open without specifying a pool ID. A pool whose associated reservation has no tags is automatically used.
-
-
To use a targeted private pool, set Private Pool Type to Targeted and specify the pool ID.
Open
Private Pool Name
2 to 128 characters. Must start with a letter. Cannot start with http:// or https://. Can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
iCR-****-20211021
Description
2 to 256 characters. Cannot start with http:// or https://.
Create instances for critical business A
-
-
(Optional) In the Tags (Optional) section, specify tags for the resource reservation.
Tags enable batch O&M and cost sharing. See Tags.
Adding tags to a resource reservation enables tag matching for the associated private pool. When creating instances, set Private Pool Type to Open without specifying a pool ID and add the same tags to automatically match the pool.
NotePrivate pools always match based on the tags added at purchase time. Do not edit tags on purchased resource reservations.
-
In the Specifications section, select a recommended plan based on your requirements.
Alibaba Cloud recommends plans optimized for performance, resource supply, or multi-zone redundancy. Select one that meets your requirements.
The available plans include the Original Plan, Supply Priority and Performance Priority plans, and the Multi-zone Redundancy plan. Each plan displays the instance type name, region/zone, quantity, reference price, vCPUs, memory, and other configuration details for comparison. Select the desired plan by using the radio button.
If no recommended plans meet your requirements, click Submit Demand Order to reserve resources.
NoteOnly the capacity reservation for subscription resources supports Submit Demand Order. If this option is not displayed, contact your business manager.
The Resource Specification Recommendation page displays recommended plans in a table format. The table includes columns for instance type name, region/zone, reference price, vCPUs, memory, processor base/turbo frequency, internal bandwidth, internal PPS, storage IOPS, IPv6, and processor model. Select the desired plan by using the radio button.
-
Click Next: Preview.
-
-
In the Preview step, confirm the configurations.
The confirmation page displays the summary and resource plan details of the resource reservation. The summary includes:
Total Instances: 5
Instance Billing Method: Pay-as-you-go
Operating System: Linux
Release Method: Manual release
Private Pool Type: Open
The Resource Plan section displays the multi-zone redundancy plan with 2 instance types across 2 zones, totaling 5 instances:
ecs.hfg6.large: China (Hangzhou) Zone K, 3 instances, 2 vCPUs / 8 GiB, Intel Xeon Cascade Lake
ecs.hfg7.large: China (Hangzhou) Zone I, 2 instances, 2 vCPUs / 8 GiB, Intel Xeon Cooper Lake
-
In the Resource Reservation Overview section, confirm the reservation attributes.
Includes reserved quantity, instance billing method, and private pool information.
-
In the Resource Plan section, confirm the resource details.
Includes instance type, zone, reference price, and specifications.
NoteEach resource reservation applies to only one instance type in only one zone. If you select a plan that includes multiple instance types or zones, the plan is automatically split into multiple resource reservations.
-
In the Notes section, read the notes. Select I have read and understood the preceding notes and click Create.
-
If the resource reservation is created, Created is displayed in the Order step.
Next steps
Go back to the Resource Reservations tab. After the reservation enters the Active state, use the associated private pool to create instances. See Create instances with private pool capacity.
After creation, you can view the created capacity reservation in the list on the Resource Reservation page. The Status column shows Active. The list also displays the reservation ID/name, reservation method, instance billing type, effective time, release method, region/zone, and instance type. You can click Details, Purchase Instances, or Modify Capacity in the Actions column for further management.
References
-
CreateElasticityAssurance: creates an elasticity assurance in a region.
-
PurchaseElasticityAssurance: purchases an elasticity assurance that is not in the active state and for which resources are prepared.
-
CreateCapacityReservation: creates a capacity reservation.
-
RenewElasticityAssurances: renews one or more elasticity assurances.