Skip to content

Commit e07b341

Browse files
authored
chore(ec2): add m8a,c8i,c8i-flex instance class (#35719)
### Reason for this change https://aws.amazon.com/about-aws/whats-new/2025/10/amazon-ec2-c8i-and-c8i-flex-instances-generally-available/ https://aws.amazon.com/about-aws/whats-new/2025/10/general-purpose-amazon-ec2-m8a-instances/ ### Description of changes EC2 add m8a,c8i,c8i-flex instance class ### Description of how you validated changes ```console $ aws ec2 describe-instance-types \ --filters "Name=instance-type,Values=c8i*" \ --query "InstanceTypes[].InstanceType" \ --output table ----------------------- |DescribeInstanceTypes| +---------------------+ | c8i-flex.8xlarge | | c8i.8xlarge | ... $ aws ec2 describe-instance-types \ --filters "Name=instance-type,Values=m8a.*" \ --query "InstanceTypes[].InstanceType" \ --output table ----------------------- |DescribeInstanceTypes| +---------------------+ | m8a.medium | | m8a.8xlarge | ... ``` ### 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 d38d015 commit e07b341

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,28 @@ export enum InstanceClass {
750750
*/
751751
C7I_FLEX = 'c7i-flex',
752752

753+
/**
754+
* Compute optimized instances based on custom Intel Xeon 6 processors, available only on AWS, 8th generation
755+
*/
756+
COMPUTE8_INTEL = 'compute8-intel',
757+
758+
/**
759+
* Compute optimized instances based on custom Intel Xeon 6 processors, available only on AWS, 8th generation
760+
*/
761+
C8I = 'c8i',
762+
763+
/**
764+
* Compute optimized instances based on custom Intel Xeon 6 processors, available only on AWS, 8th generation
765+
* C8i-flex instances efficiently use compute resources to deliver a baseline level of performance with the ability to scale up to the full compute performance a majority of the time.
766+
*/
767+
COMPUTE8_INTEL_FLEX = 'compute8-intel-flex',
768+
769+
/**
770+
* Compute optimized instances based on custom Intel Xeon 6 processors, available only on AWS, 8th generation
771+
* C8i-flex instances efficiently use compute resources to deliver a baseline level of performance with the ability to scale up to the full compute performance a majority of the time.
772+
*/
773+
C8I_FLEX = 'c8i-flex',
774+
753775
/**
754776
* Compute optimized instances based on 4th generation AMD EPYC (codename Genoa), 7th generation
755777
*/
@@ -1445,6 +1467,16 @@ export enum InstanceClass {
14451467
*/
14461468
M7A = 'm7a',
14471469

1470+
/**
1471+
* Standard instances based on 5th generation AMD EPYC (formerly code named Turin), 8th generation
1472+
*/
1473+
STANDARD8_AMD = 'standard8-amd',
1474+
1475+
/**
1476+
* Standard instances based on 5th generation AMD EPYC (formerly code named Turin), 8th generation
1477+
*/
1478+
M8A = 'm8a',
1479+
14481480
/**
14491481
* High memory and compute capacity instances, 1st generation
14501482
*/
@@ -1923,6 +1955,10 @@ export class InstanceType {
19231955
[InstanceClass.C8GD]: 'c8gd',
19241956
[InstanceClass.COMPUTE8_GRAVITON4_HIGH_NETWORK_BANDWIDTH]: 'c8gn',
19251957
[InstanceClass.C8GN]: 'c8gn',
1958+
[InstanceClass.COMPUTE8_INTEL]: 'c8i',
1959+
[InstanceClass.C8I]: 'c8i',
1960+
[InstanceClass.COMPUTE8_INTEL_FLEX]: 'c8i-flex',
1961+
[InstanceClass.C8I_FLEX]: 'c8i-flex',
19261962
[InstanceClass.STORAGE2]: 'd2',
19271963
[InstanceClass.D2]: 'd2',
19281964
[InstanceClass.STORAGE3]: 'd3',
@@ -2045,6 +2081,8 @@ export class InstanceType {
20452081
[InstanceClass.M8I_FLEX]: 'm8i-flex',
20462082
[InstanceClass.STANDARD7_AMD]: 'm7a',
20472083
[InstanceClass.M7A]: 'm7a',
2084+
[InstanceClass.STANDARD8_AMD]: 'm8a',
2085+
[InstanceClass.M8A]: 'm8a',
20482086
[InstanceClass.HIGH_COMPUTE_MEMORY1]: 'z1d',
20492087
[InstanceClass.Z1D]: 'z1d',
20502088
[InstanceClass.INFERENCE1]: 'inf1',

0 commit comments

Comments
 (0)