Skip to content
v2.275.0

NodegroupAmiType Enum ​

The AMI type for your node group.

GPU instance types should use the AL2_x86_64_GPU AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU support or the BOTTLEROCKET_ARM_64_NVIDIA or BOTTLEROCKET_X86_64_NVIDIA AMI types, which uses the Amazon EKS-optimized Linux AMI with Nvidia-GPU support.

Non-GPU instances should use the AL2_x86_64 AMI type, which uses the Amazon EKS-optimized Linux AMI.

Example ​

ts
declare const cluster: eks.Cluster;

// Pin existing node groups to AL2 explicitly before enabling the flag.
cluster.addNodegroupCapacity('workers', {
  instanceTypes: [new ec2.InstanceType('m5.large')],
  amiType: eks.NodegroupAmiType.AL2_X86_64,
});

Members ​

MemberDescription
AL2_X86_64Amazon Linux 2 (x86-64).
AL2_X86_64_GPUAmazon Linux 2 with GPU support.
AL2_ARM_64Amazon Linux 2 (ARM-64).
BOTTLEROCKET_ARM_64Bottlerocket Linux (ARM-64).
BOTTLEROCKET_X86_64Bottlerocket (x86-64).
BOTTLEROCKET_ARM_64_NVIDIABottlerocket Linux with Nvidia-GPU support (ARM-64).
BOTTLEROCKET_X86_64_NVIDIABottlerocket with Nvidia-GPU support (x86-64).
BOTTLEROCKET_ARM_64_FIPSBottlerocket Linux (ARM-64) with FIPS enabled.
BOTTLEROCKET_X86_64_FIPSBottlerocket (x86-64) with FIPS enabled.
WINDOWS_CORE_2019_X86_64Windows Core 2019 (x86-64).
WINDOWS_CORE_2022_X86_64Windows Core 2022 (x86-64).
WINDOWS_FULL_2019_X86_64Windows Full 2019 (x86-64).
WINDOWS_FULL_2022_X86_64Windows Full 2022 (x86-64).
AL2023_X86_64_STANDARDAmazon Linux 2023 (x86-64).
AL2023_X86_64_NEURONAmazon Linux 2023 with AWS Neuron drivers (x86-64).
AL2023_X86_64_NVIDIAAmazon Linux 2023 with NVIDIA drivers (x86-64).
AL2023_ARM_64_NVIDIAAmazon Linux 2023 with NVIDIA drivers (ARM-64).
AL2023_ARM_64_STANDARDAmazon Linux 2023 (ARM-64).

Referenced by ​