Learn about the supported instance type changes before you change the instance type of your Elastic Compute Service (ECS) instance.
Instance families that support instance type changes
When you change the instance type of an ECS instance, take note of the compatibility between the source and destination instance types or families described in the following tables. You can change ECS instances only from instance types within the source instance families to instance types in corresponding compatible instance families.
You can also call the DescribeResourcesModification operation to query the instance types to which you want change an ECS instance.
Table 1. x86-based Entry-level computing instance families
Source instance family | Compatible instance family |
e |
|
t6 |
|
t5 |
|
n4, mn4, xn4, and e4 |
|
t1, s1, s2, s3, m1, m2, c1, and c2 |
|
n1, n2, and e3 |
|
Table 2. Enterprise-level computing instance families
Source instance family or type | Compatible instance family or type |
g9i, c9i, and r9i | g9i, c9i, and r9i |
|
|
|
|
g8y, c8y, and r8y | g8y, c8y, and r8y |
g7se, c7se, and r7se |
|
g7a, c7a, and r7a |
|
ebmg7a, ebmc7a, and ebmr7a | ebmg7a, ebmc7a, and ebmr7a |
ebmhfc7, ebmhfg7, and ebmhfr7 | ebmhfc7, ebmhfg7, and ebmhfr7 |
g7, c7, and r7 |
|
ebmg7, ebmc7, and ebmr7 | ebmg7, ebmc7, and ebmr7 |
|
|
g7nex and c7nex |
Important The ecs.g7nex.32xlarge instance type can be changed only to the ecs.c7nex.32xlarge instance type. |
g6r and c6r |
|
|
|
g6a, c6a, and r6a |
|
g6t | g6t |
c6t | c6t |
ebmg6a, ebmc6a, and ebmr6a | ebmg6a, ebmc6a, and ebmr6a |
g5, g5ne, r5, c5, and ic5 |
|
hfc5 and hfg5 |
|
u1 |
|
sn1ne, sn2ne, and se1ne |
|
se1 |
|
re6 |
|
re4e |
|
re4 |
|
gn8v | gn8v |
gn8v-tee | gn8v-tee |
sgn8ia | sgn8ia |
gn8is | gn8is |
sgn7i-vws | sgn7i-vws |
vgn7i-vws | vgn7i-vws |
gn7e | gn7e |
gn7s | gn7s |
gn7i | gn7i |
gn7 | gn7 |
gn6i | gn6i |
vgn6i | vgn6i, vgn6i-vws, and sgn7i-vws |
vgn6i-vws | vgn6i-vws |
gn6e | gn6e |
gn6v | gn6v |
gn5i | gn5i |
gn5 | gn5 |
sn1, sn2, and se1 |
|
c4, ce4, and cm4 |
|
Issues and solutions
You may be unable to change ECS instances to specific instance types. In this case, resolve the issues based on the scenario and proceed with the instance type changes.
Reconfigure an ECS instance before you can change it to a specific instance type
If you cannot change an ECS instance to a specific instance type due to one of the following reasons, resolve the issue based on the reason and then change the instance type of the instance.
Reason | Description | Solution |
The processor of the destination instance type is incompatible with the operating system of the ECS instance. | Specific ECS instance types have requirements for operating systems. Take note of the following limits:
If the operating system of the ECS instance is incompatible with an instance type, you cannot change the instance to the instance type. | For more information, see The operating systems of the images are incompatible with the processors of the instance types. |
The Non-Volatile Memory Express (NVMe) driver status of the destination instance type does not match that of the ECS instance. |
Note
|
|
The destination instance type does not support the disk categories of the ECS instance. | Some instance families support only specific disk categories. For example, the g7 general-purpose instance family supports only Enterprise SSDs (ESSDs). If an ECS instance has disks of categories that are not supported by an instance type, you cannot change the instance to the instance type. For example, if an ECS instance has ultra disks attached, you cannot change the instance to an instance type that supports only ESSDs. | When you change the instance type of an ECS instance, you can follow the on-screen instructions to change the disk categories of the instance. |
Select a different destination instance type
If you cannot change an ECS instance to a specific instance type due to one of the following reasons, select a different destination instance type.
Reason | Description | Solution |
The destination instance type does not exist. | The destination instance type that you select does not exist. | Select a different destination instance type. Note Before you change the instance type of an ECS instance, view Instance families available for purchase. |
The destination instance type is retired. | The destination instance type that you select is retired. | Select a different destination instance type. Note Before you change the instance type of an ECS instance, view Instance families available for purchase. |
No inventory in the region. | The destination instance type that you select is unavailable in the current region. | Select a different destination instance type. Note You can go to the Instance Types Available for Each Region page to query the available instance types in the current region and zone. You can also call the DescribeResourcesModification operation to query available instance types in a zone. |
Only changes between instance types in the same instance family are supported. | You can change the ECS instance only to another instance type in the same instance family as the current instance type of the instance. | The destination instance type must be in the same instance family as the current instance type of the instance. For example, when you change the instance type of a gn7e instance, you can select only instance types in the gn7e instance family. |
The destination instance family is incompatible with the source instance family. | If the selected destination instance type is incompatible with the source instance type, the change is not supported. | For more information, see Instance families that support instance type changes. Select a destination instance type from an instance family that is compatible with the source instance family. |
The architecture of the destination instance type does not match that of the ECS instance. | If the architecture (Arm or x86) of the selected destination instance type does not match that of the ECS instance, the change is not supported. | The destination instance type must have the same architecture as the ECS instance. |
The number of vCPUs or memory size of the destination instance type is out of range. | If the number of vCPUs or memory size of the selected destination instance type does not match that of the ECS instance, the change is not supported. For information about the limits of Windows operating systems on the number of vCPUs and memory size of instances, see Memory Limits for Windows and Windows Server Releases. | The number of vCPUs or memory size of the destination instance type must match that of the ECS instance. |
The boot mode of the destination instance type does not match that of the ECS instance. | For example, if the selected destination instance is a security-enhanced instance type that supports only the Unified Extensible Firmware Interface (UEFI) boot mode, the ECS instance must also support the UEFI boot mode. Otherwise, the change is not supported. | The destination instance type must support the same boot mode as the ECS instance. |
Instance types that do not support changes
You change ECS instances from the instance types in the following instance families to other instance types.
Category | Instance family |
x86-based enterprise-level computing instance families |
|
Enterprise-level heterogeneous computing instance families |
|
ECS Bare Metal Instance families |
|
Super Computing Cluster (SCC) instance families |
|