Describe the feature
The g7e instance family (NVIDIA Blackwell B200) is not recognized as a GPU instance type in CDK. Attempting to create an EKS managed nodegroup with a g7e instance and ami_type=AL2023_X86_64_NVIDIA fails because:
- g7e is absent from the InstanceClass enum in aws-ec2/lib/instance-types.ts — there is no G7E / GRAPHICS7_EFFICIENT entry.
- isGpuInstanceType() in aws-eks/lib/private/nodegroup.ts has a hardcoded allowlist that includes G6E but not G7E, so CDK rejects the AMI type as incompatible with the instance.
Use Case
I want to be able to create GPU nodegroups with the newer g7e instance types.
Proposed Solution
I believe the change should be to add g7e to both places, following the same pattern used for g6e:
- In aws-ec2/lib/instance-types.ts:
GRAPHICS7_EFFICIENT = 'g7e',
G7E = GRAPHICS7_EFFICIENT,
- In aws-eks/lib/private/nodegroup.ts, add InstanceClass.G7E to the knownGpuInstanceTypes array in isGpuInstanceType().
Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.253.0
AWS CDK CLI version
2.1121.0
Environment details (OS name and version, etc.)
Linux (Ubuntu 6.17.0-22-generic), Python 3.12, Node.js v20.12.2, aws-cdk-lib 2.253.0, CDK CLI 2.1121.0
Describe the feature
The g7e instance family (NVIDIA Blackwell B200) is not recognized as a GPU instance type in CDK. Attempting to create an EKS managed nodegroup with a g7e instance and ami_type=AL2023_X86_64_NVIDIA fails because:
Use Case
I want to be able to create GPU nodegroups with the newer g7e instance types.
Proposed Solution
I believe the change should be to add g7e to both places, following the same pattern used for g6e:
GRAPHICS7_EFFICIENT = 'g7e',
G7E = GRAPHICS7_EFFICIENT,
Other Information
No response
Acknowledgements
AWS CDK Library version (aws-cdk-lib)
2.253.0
AWS CDK CLI version
2.1121.0
Environment details (OS name and version, etc.)
Linux (Ubuntu 6.17.0-22-generic), Python 3.12, Node.js v20.12.2, aws-cdk-lib 2.253.0, CDK CLI 2.1121.0