Skip to content

Commit 93af887

Browse files
authored
chore(ec2): add r8a instance class (#35964)
### Reason for this change https://aws.amazon.com/about-aws/whats-new/2025/11/memory-optimized-amazon-ec2-r8a-instances/ ### Description of changes Add r8a instance class ### Description of how you validated changes ```console $ aws ec2 describe-instance-types \ --filters "Name=instance-type,Values=r8a.*" \ --query "InstanceTypes[].InstanceType" \ --output table ----------------------- |DescribeInstanceTypes| +---------------------+ | r8a.large | | r8a.2xlarge | | r8a.medium | | r8a.8xlarge | | r8a.48xlarge | | r8a.metal-24xl | | r8a.metal-48xl | | r8a.xlarge | | r8a.12xlarge | | r8a.24xlarge | | r8a.16xlarge | | r8a.4xlarge | +---------------------+ ``` ### 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 35e7aec commit 93af887

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,16 @@ export enum InstanceClass {
472472
*/
473473
R7A = 'r7a',
474474

475+
/**
476+
* Memory optimized instances based on 5th generation AMD EPYC (formerly code named Turin), 8th generation
477+
*/
478+
MEMORY8_AMD = 'memory8-amd',
479+
480+
/**
481+
* Memory optimized instances based on 5th generation AMD EPYC (formerly code named Turin), 8th generation
482+
*/
483+
R8A = 'r8a',
484+
475485
/**
476486
* Memory optimized instances with Graviton4 processors
477487
*/
@@ -1897,6 +1907,8 @@ export class InstanceType {
18971907
[InstanceClass.R7IZ]: 'r7iz',
18981908
[InstanceClass.MEMORY7_AMD]: 'r7a',
18991909
[InstanceClass.R7A]: 'r7a',
1910+
[InstanceClass.MEMORY8_AMD]: 'r8a',
1911+
[InstanceClass.R8A]: 'r8a',
19001912
[InstanceClass.MEMORY8_GRAVITON]: 'r8g',
19011913
[InstanceClass.R8G]: 'r8g',
19021914
[InstanceClass.MEMORY8_GRAVITON4_NVME_DRIVE]: 'r8gd',

0 commit comments

Comments
 (0)