aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

eks: AL2023 ARM64 NVIDIA nodegroup type support

Open shazi7804 opened this issue 3 months ago • 2 comments

Describe the feature

Following PR #34456, add support for the AL2023_ARM_64_NVIDIA ami type that is available in EKS managed nodegroups.

Use Case

We have challenge on deploy G5g with AL20223_ARM_64_NVIDIA on new site but it's not support AMI type.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • [x] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

latest version

AWS CDK CLI version

latest version

Environment details (OS name and version, etc.)

Amazon Linux ARM cpu with NVIDIA (AL2023_ARM_64_NVIDIA)

shazi7804 avatar Sep 25 '25 03:09 shazi7804

Hi @shazi7804,

Thank you for reporting this issue. AL2023_ARM_64_NVIDIA AMI type support is missing from the CDK, even though it's available in the AWS EKS API.

I can confirm that:

  • AWS EKS does support AL2023_ARM_64_NVIDIA for managed node groups (verified in CloudFormation docs)
  • The CDK's NodegroupAmiType enum is missing this value
  • This prevents deploying G5g instances with AL2023 and NVIDIA drivers through CDK

This is a valid feature request that would require adding:

  1. AL2023_ARM_64_NVIDIA = 'AL2023_ARM_64_NVIDIA' to the NodegroupAmiType enum
  2. The new type to the gpuAmiTypes array for proper GPU instance validation
  3. Updates to both the stable and alpha EKS packages

The fix should be straightforward since it's just adding a missing enum value that AWS already supports. We'd welcome a PR contribution if you're interested in implementing this! The changes would need to be made in:

  • packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.ts
  • packages/@aws-cdk/aws-eks-v2-alpha/lib/managed-nodegroup.ts
  • Associated test files

This would enable users to deploy ARM64 GPU workloads using the latest Amazon Linux 2023 with NVIDIA drivers.

We'll reveiw your PR when it's ready. Let me know if you need any further guidance.

pahud avatar Sep 25 '25 12:09 pahud

Hello @pahud , Is it possible to make a contribution for it?

amandladev avatar Sep 25 '25 15:09 amandladev