All Products
Search
Document Center

Elastic Compute Service:Instance type changes

Last Updated:May 06, 2025

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.

Note

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

  • g7, c7, r7, g7ne, g7nex, c7nex, hfg7, hfc7, and hfr7

  • g6, c6, r6, g6e, c6e, r6e, hfg6, hfc6, hfr6, and re6

  • u1

  • e

  • t6

t6

  • g7, c7, r7, hfg7, hfc7, hfr7, and g7ne

  • g6, c6, r6, hfg6, hfc6, hfr6, g6e, c6e, r6e, and re6

  • t6

t5

  • g6, c6, r6, hfc6, hfg6, hfr6, g6a, c6a, r6a, and re6

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5 and t6

n4, mn4, xn4, and e4

  • g6, c6, r6, hfc6, hfg6, hfr6, g6a, c6a, r6a, and re6

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5 and t6

  • n1, n2, e3, sn1, and sn2

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

t1, s1, s2, s3, m1, m2, c1, and c2

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5

  • n1, n2, e3, sn1, and sn2

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

n1, n2, and e3

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5

  • n1, n2, e3, sn1, and sn2

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

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

  • g8i, c8i, and r8i

  • hfg8i, hfc8i, and hfr8i

  • g9i, c9i, and r9i

  • g8i, c8i, r8i, hfg8i, hfc8i, and hfr8i

  • g8a, c8a, and r8a

  • g8ae, c8ae, and r8ae

  • g8a, c8a, and r8a

  • g8ae, c8ae, and r8ae

g8y, c8y, and r8y

g8y, c8y, and r8y

g7se, c7se, and r7se

  • g8i, c8i, and r8i

  • g7se, c7se, and r7se

g7a, c7a, and r7a

  • g8a, c8a, r8a, g8ae, c8ae, and r8ae

  • g7a, c7a, r7a, g7, c7, and r7

  • g6a, c6a, and r6a

ebmg7a, ebmc7a, and ebmr7a

ebmg7a, ebmc7a, and ebmr7a

ebmhfc7, ebmhfg7, and ebmhfr7

ebmhfc7, ebmhfg7, and ebmhfr7

g7, c7, and r7

  • g9i, c9i, and r9i

  • g8i, c8i, r8i, hfg8i, hfc8i, and hfr8i

  • g7, c7, r7, g7ne, g7nex, c7nex, hfc7, hfg7, and hfr7

ebmg7, ebmc7, and ebmr7

ebmg7, ebmc7, and ebmr7

  • g7ne

  • hfc7, hfg7, and hfr7

  • g6e, c6e, and r6e

  • g8i, c8i, r8i, hfg8i, hfc8i, and hfr8i

  • g7, c7, r7, g7ne, g7nex, c7nex, hfc7, hfg7, and hfr7

  • g6e, c6e, and r6e

g7nex and c7nex

  • g8i, c8i, r8i, hfg8i, hfc8i, and hfr8i

  • g7, c7, r7, g7ne, g7nex, c7nex, hfc7, hfg7, and hfr7

Important

The ecs.g7nex.32xlarge instance type can be changed only to the ecs.c7nex.32xlarge instance type.

g6r and c6r

  • g8y, c8y, and r8y

  • g6r and c6r

  • g6, c6, and r6

  • hfg6, hfc6, and hfr6

  • g7, c7, r7, hfg7, hfc7, hfr7, and g7ne

  • g6, c6, r6, hfg6, hfc6, hfr6, g6e, c6e, r6e, and re6

  • t6

g6a, c6a, and r6a

  • g7, c7, r7, g7a, c7a, and r7a

  • g6, c6, r6, g6a, c6a, and r6a

g6t

g6t

c6t

c6t

ebmg6a, ebmc6a, and ebmr6a

ebmg6a, ebmc6a, and ebmr6a

g5, g5ne, r5, c5, and ic5

  • g7, c7, and r7

  • g6, c6, r6, g6a, c6a, r6a, hfc6, hfg6, hfr6, and re6

  • g5, g5ne, r5, c5, ic5, hfc5, hfg5, and ebmg5s

  • t5 and t6

hfc5 and hfg5

  • g7, c7, and r7

  • g6, c6, r6, g6a, c6a, r6a, hfc6, hfg6, hfr6, and re6

  • u1

  • hfc5, hfg5, g5, g5ne, r5, c5, ic5, and t5

  • e

  • t6

u1

  • g7, c7, r7, hfg7, hfc7, and hfr7

  • u1

sn1ne, sn2ne, and se1ne

  • g7, c7, and r7

  • g6, c6, r6, g6a, c6a, r6a, hfc6, hfg6, hfr6, and re6

  • u1

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • e

  • t5 and t6

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

se1

  • g7, c7, and r7

  • u1

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5

  • n1, n2, e3, sn1, and sn2

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

re6

  • g6, c6, r6, hfc6, hfg6, hfr6, re6, and ebmre6-6t

  • re4 and re4e

re4e

  • g7, c7, and r7

  • u1

  • re6 and ebmre6-6t

  • re4e and re4

re4

  • g7, c7, and r7

  • u1

  • g6, c6, r6, g6a, c6a, r6a, hfg6, hfc6, hfr6, re6, and ebmre6-6t

  • e

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5 and t6

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

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

  • g7, c7, and r7

  • u1

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5

  • n1, n2, e3, sn1, and sn2

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

c4, ce4, and cm4

  • g6, c6, r6, g6a, c6a, r6a, hfc6, hfg6, hfr6, and re6

  • e

  • g5, g5ne, r5, c5, ic5, hfc5, and hfg5

  • t5 and t6

  • se1, sn1ne, sn2ne, se1ne, c4, ce4, cm4, re4, n4, mn4, xn4, and e4

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.

  • To change the instance type of an 8th-generation or later ECS instance, the NVMe driver must be installed on the instance.

  • To change the instance type of a 7th-generation or earlier ECS instance to an 8th-generation or later instance type, the NVMe driver must be installed on the instance or the image must support NVMe.

Note
  • You can call the DescribeInstanceTypes operation and determine whether an instance type supports NVMe based on the NvmeSupport response parameter.

  • You can call the DescribeImages operation and determine whether an image supports NVMe based on the NvmeSupport response parameter.

  1. On the Instance page in the ECS console, find the ECS instance whose instance type you want to change and choose image > Configure NVMe Driver Status in the Actions column.

  2. Click Install to install the NVMe driver. The system automatically changes the NVMe driver status to Installed.

image

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.

image

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

  • Persistent memory-optimized instance families: re6p, and re6p-redis

  • Security-enhanced instance families: g7t, c7t, and r7t

  • Big data instance families: d3s, d3c, d2c, d2s, d1, and d1ne

  • Instance families with local SSDs: i1, i2, i2g, i2ne, i2gne, i3, i3g, i4, i4g, i4r, and i4p

Enterprise-level heterogeneous computing instance families

  • GPU-accelerated compute-optimized instance family: gn5

  • vGPU-accelerated instance family: vgn5i

  • FPGA-accelerated compute-optimized instance families: f1 and f3

ECS Bare Metal Instance families

  • ebmgn8v, ebmgn8is, ebmgn7e, ebmgn7i, ebmgn7, ebmgn6ia, ebmgn6e, ebmgn6v, and ebmgn6i

  • ebmg8i, ebmc8i, ebmg8y, ebmc8y, ebmr8y, ebmg6, ebmg5s, ebmg5, ebmc6me, ebmc6, ebmc5s, ebmc4, ebmre6p, ebmre6-6t, ebmr6, and ebmr5s

  • ebmhfg6, ebmhfg5, ebmhfc6, and ebmhfr6

Super Computing Cluster (SCC) instance families

  • SCC instance families:

    • sccgn6e and sccgn6

    • sccg5 and scch5

    • scchfg6, scchfc6, and scchfr6