Split, merge, or modify reserved instances

更新时间:
复制 MD 格式

If your workload changes—for example, if it is distributed across smaller instances, consolidated onto larger instances, or expanded across zones—you can split, merge, or modify existing reserved instances. This flexibility allows you to match them to pay-as-you-go instances of different types and in different zones, ensuring you continue to receive discounts and can efficiently manage and optimize the cost and usage of your cloud resources.

Note

For clarity, a reserved instance before being split, merged, or modified is called a source reserved instance. After the operation, it is called a destination reserved instance.

Prerequisites

Before you split, merge, or modify a reserved instance, ensure that:

  • The reserved instance is in the In Effect state.

  • The reserved instance has no ongoing split, merge, or modification requests.

Split a reserved instance

If your workload is distributed across multiple, smaller pay-as-you-go instances, you can split one reserved instance into multiple reserved instances with lower computing power. This allows you to align your reserved instances more closely with your running pay-as-you-go instances, accommodating your workload distribution.

Limitations

The following limitations apply when you split a reserved instance:

  • Reserved instances of the gn6i and t5 instance families cannot be split.

  • The destination reserved instances must have the same reservation type, payment type, expiration date, region/zone, and instance type prefix as the source reserved instance.

  • The total computing power of the destination reserved instances must equal the computing power of the source reserved instance.

    Note

    The computing power of a reserved instance = normalization factor of the instance type × quantity. To find the normalization factor for different instance types, see View normalization factors.

Procedure

  1. Go to ECS Console - Reserved Instances.

  2. On the Reserved Instance page, find the reserved instance that you want to split. In the Actions column, click image > Split.

  3. In the Split Reserved Instance dialog box, configure the name, instance type, and quantity for each destination reserved instance.

  4. Click OK. You can then view the operation results.

Merge reserved instances

If your workload is concentrated on a few large instances, you can merge multiple reserved instances into a single one with greater computing power. This lets you more effectively match these large pay-as-you-go instances.

Limitations

The following limitations apply when you merge reserved instances:

  • Reserved instances of the gn6i and t5 instance families cannot be merged.

  • The source reserved instances you merge must have the same reservation type, payment type, expiration date, region/zone, and instance type prefix.

  • The quantity for the destination reserved instance cannot exceed 100.

  • The computing power of the destination reserved instance must equal the sum of the computing power of the source reserved instances.

    Note

    The computing power of a reserved instance = normalization factor of the instance type × quantity. To find the normalization factor for different instance types, see View normalization factors.

Procedure

  1. Go to ECS Console - Reserved Instances.

  2. On the Reserved instances page, find one of the reserved instances that you want to merge. In the Actions column, click image > Merge.

  3. In the Merge Reserved Instances dialog box, select the source reserved instances, and then configure the name, instance type, and quantity for the destination reserved instance.

  4. Click OK. You can then view the operation results.

Modify the zone of a reserved instance

If a reserved instance's current zone is no longer suitable due to business expansion or migration, you can modify its zone to better match your pay-as-you-go instances.

  1. Go to ECS Console - Reserved Instances.

  2. On the Reserved instances page, find the reserved instance that you want to modify and click Modify in the Actions column.

  3. In the Modify Reserved Instance dialog box, configure the Name and Region / zone.

    You can change the Region / zone only within the same region. The following modifications are supported:

    • For a zonal reserved instance:

      • You can change it to another zone within the same region.

      • You can change its scope from a specific zone to the entire region, making it a regional reserved instance.

    • For a regional reserved instance: You can change its scope from regional to a specific zone, making it a zonal reserved instance.

    Note

    If the destination zone has insufficient inventory for the corresponding instance type, you cannot select that zone.

  4. Click OK. You can then view the operation results.

Operation results

After you submit a request, the source reserved instance enters the Updating state, and the destination reserved instance enters the Creating state.

Note

You cannot cancel an in-progress request. To roll back a change, you must perform the reverse operation. For example, to undo a split, you can merge the resulting reserved instances.

After the request is processed:

  • If the operation is successful:

    • Source reserved instance

      • Enters the inactive state. Deactivation is effective at the start of the hour the operation completes, and its price is set to 0 CNY.

      • You can view only historical bills for the source reserved instance.

    • Destination reserved instance

      • Enters the In Effect state. Activation is effective at the start of the hour the operation completes.

        For example, if you split a zonal reserved instance with a capacity reservation for the ecs.g6.2xlarge instance type into two zonal reserved instances with capacity reservations for the ecs.g6.xlarge instance type at 20:30 on May 28, 2024, the source reserved instance becomes inactive at 20:00 on May 28, 2024, and the destination reserved instances become active at 20:00 on May 28, 2024.

      • For a zonal reserved instance, the system also automatically updates the associated capacity reservation.

      • If the destination reserved instance successfully matches a pay-as-you-go instance, the system applies the discount to your bill within the same hour.

  • If the operation fails, the source reserved instance remains active and its functionality is unaffected.