All Products
Search
Document Center

Elastic Compute Service:Modify a reserved instance

Last Updated:Aug 28, 2023

You can modify the name of a reserved instance. You can modify the scope (zone or region) of a reserved instance to meet your service requirements. For ease of description, the reserved instance to be modified is referred to as the original reserved instance. The resulting modified reserved instance is referred to as the target reserved instance.

Prerequisites

  • The original reserved instance is in the Active state.
  • No ongoing requests for splitting, merging, or modifying reserved instances exist.

Background information

When you modify the zone or region of a reserved instance, you can make the following changes:
  • From a zonal reserved instance to a regional one within the same region
  • From a regional reserved instance to a zonal one within the same region
  • From one zone to another within the same region
The following figure shows the modified reserved instances.Modified reserved instances
You cannot modify the scope of a reserved instance across regions. The following figure shows reserved instances that fail to be modified.Fails to modify the reserved instances

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > icon1 > Reserved Instances.

  3. On the Reserved Instances page, find the original reserved instance and click Modify in the Actions column.
  4. In the Modify Reserved Instance pane that appears, reset the name, region, and zone.
    Note If instance types used by reserved instances are insufficient in the target zone, you cannot select this zone.
  5. Click OK.

Result

After you submit the modification request, the original reserved instance enters the Updating state, and the target reserved instance in the Creating state is displayed. You cannot cancel the ongoing request for modifying a reserved instance. If you want to roll back the change made by the modification operation, you can modify the reserved instance again.

After the request for modifying a reserved instance is processed, you can obtain one of the following results:
  • If the reserved instance is modified:
    • The original reserved instance enters the Inactive state and expires at the top of the hour when it is modified. The price becomes USD 0.
    • The target reserved instance enters the Active state and takes effect at the top of the hour when the original reserved instance is modified. If the target reserved instance is a zonal reserved instance, the zone where resources are reserved will also be updated automatically.
    • If the target reserved instance matches one or more pay-as-you-go instances, the billing discount provided by this reserved instance is applied to the matched pay-as-you-go instances starting from the hour when the target reserved instance takes effect.
  • If the original reserved instance fails to be modified, it remains active.
Assume that you modified a zonal reserved instance with reserved resources to a regional reserved instance without reserved resources at 10:50 of May 29, 2020. The following figure shows the time when the original reserved instance expires and the time when the target reserved instance takes effect.The time when the modification takes effect