Skip to content

Commit 01524d1

Browse files
authored
chore(ec2): add m8i, m8i-flex, r8i, r8i-flex instance class (aws#35364)
### Issue # (if applicable) None ### Reason for this change https://aws.amazon.com/about-aws/whats-new/2025/08/amazon-ec2-m8i-and-m8i-flex-instances-generally-available/ https://aws.amazon.com/about-aws/whats-new/2025/08/memory-optimized-amazon-ec2-r8i-r8i-flex-instances/ ### Description of changes Add m8i, m8i-flex, r8i, r8i-flex instance class ### Description of how you validated changes ```console $ aws ec2 describe-instance-types | grep -e m8i -e r8i "InstanceType": "r8i.48xlarge", "InstanceType": "r8i-flex.8xlarge", "InstanceType": "m8i.16xlarge", "InstanceType": "m8i-flex.2xlarge", ``` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 640821d commit 01524d1

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,28 @@ export enum InstanceClass {
440440
*/
441441
R7IZ = 'r7iz',
442442

443+
/**
444+
* Memory optimized instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
445+
*/
446+
MEMORY8_INTEL_BASE = 'memory8-intel-base',
447+
448+
/**
449+
* Memory optimized instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
450+
*/
451+
R8I = 'r8i',
452+
453+
/**
454+
* Memory optimized flexible instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
455+
* Provide up to 20% higher performance, 2.5x more memory throughput, and can scale up to full CPU performance 95% of the time
456+
*/
457+
MEMORY8_INTEL_FLEX = 'memory8-intel-flex',
458+
459+
/**
460+
* Memory optimized flexible instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
461+
* Provide up to 20% higher performance, 2.5x more memory throughput, and can scale up to full CPU performance 95% of the time
462+
*/
463+
R8I_FLEX = 'r8i-flex',
464+
443465
/**
444466
* Memory optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation
445467
*/
@@ -1339,6 +1361,28 @@ export enum InstanceClass {
13391361
*/
13401362
M8GD = 'm8gd',
13411363

1364+
/**
1365+
* Standard instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
1366+
*/
1367+
STANDARD8_INTEL = 'standard8-intel',
1368+
1369+
/**
1370+
* Standard instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
1371+
*/
1372+
M8I = 'm8i',
1373+
1374+
/**
1375+
* Flexible instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
1376+
* Provide up to 20% higher performance, 2.5x more memory throughput, and can scale up to full CPU performance 95% of the time
1377+
*/
1378+
STANDARD8_INTEL_FLEX = 'standard8-intel-flex',
1379+
1380+
/**
1381+
* Flexible instances based on custom Intel Xeon Scalable 6 processors, available only on AWS
1382+
* Provide up to 20% higher performance, 2.5x more memory throughput, and can scale up to full CPU performance 95% of the time
1383+
*/
1384+
M8I_FLEX = 'm8i-flex',
1385+
13421386
/**
13431387
* Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Sapphire Rapids) processors, 7th generation
13441388
*/
@@ -1795,6 +1839,10 @@ export class InstanceType {
17951839
[InstanceClass.R8G]: 'r8g',
17961840
[InstanceClass.MEMORY8_GRAVITON4_NVME_DRIVE]: 'r8gd',
17971841
[InstanceClass.R8GD]: 'r8gd',
1842+
[InstanceClass.MEMORY8_INTEL_BASE]: 'r8i',
1843+
[InstanceClass.R8I]: 'r8i',
1844+
[InstanceClass.MEMORY8_INTEL_FLEX]: 'r8i-flex',
1845+
[InstanceClass.R8I_FLEX]: 'r8i-flex',
17981846
[InstanceClass.COMPUTE3]: 'c3',
17991847
[InstanceClass.C3]: 'c3',
18001848
[InstanceClass.COMPUTE4]: 'c4',
@@ -1955,6 +2003,10 @@ export class InstanceType {
19552003
[InstanceClass.M7I]: 'm7i',
19562004
[InstanceClass.STANDARD7_INTEL_FLEX]: 'm7i-flex',
19572005
[InstanceClass.M7I_FLEX]: 'm7i-flex',
2006+
[InstanceClass.STANDARD8_INTEL]: 'm8i',
2007+
[InstanceClass.M8I]: 'm8i',
2008+
[InstanceClass.STANDARD8_INTEL_FLEX]: 'm8i-flex',
2009+
[InstanceClass.M8I_FLEX]: 'm8i-flex',
19582010
[InstanceClass.STANDARD7_AMD]: 'm7a',
19592011
[InstanceClass.M7A]: 'm7a',
19602012
[InstanceClass.HIGH_COMPUTE_MEMORY1]: 'z1d',

0 commit comments

Comments
 (0)