AWS eks medium security documentation change
Summary
Updated supported AMIs from Amazon Linux 2 to Amazon Linux 2023 variants, added AL2 deprecation notice, modified node creation commands to specify AmazonLinux2023 family, updated CloudFormation template URL, and added new required cluster configuration parameters.
Security assessment
The change introduces a deprecation notice for AL2 AMIs (EOS November 2025) which could leave systems vulnerable if not updated. The addition of explicit parameters like CertificateAuthority and ClusterId improves security by ensuring proper cluster authentication. The removal of manual bootstrap arguments reduces misconfiguration risks.
Diff
diff --git a/eks/latest/userguide/eks-outposts-self-managed-nodes.md b/eks/latest/userguide/eks-outposts-self-managed-nodes.md index 7a989cc27..805dc736e 100644 --- a//eks/latest/userguide/eks-outposts-self-managed-nodes.md +++ b//eks/latest/userguide/eks-outposts-self-managed-nodes.md @@ -15 +15 @@ To contribute to this user guide, choose the **Edit this page on GitHub** link t -Amazon EKS Local Clusters on Outposts only supports nodes created from the following Amazon EKS-optimized Amazon Linux 2 AMIs: +Amazon EKS Local Clusters on Outposts only supports nodes created from the following Amazon EKS-optimized Amazon Linux 2023 AMIs: @@ -17 +17 @@ Amazon EKS Local Clusters on Outposts only supports nodes created from the follo - * Standard Amazon Linux 2 (`amazon-linux-2`) + * Standard Amazon Linux 2023 (`amazon-linux-2023/x86_64/standard`) @@ -19 +19 @@ Amazon EKS Local Clusters on Outposts only supports nodes created from the follo - * GPU-enabled Amazon Linux 2 (`amazon-linux-2-gpu`) + * Accelerated Nvidia Amazon Linux 2023 (`amazon-linux-2023/x86_64/nvidia`) @@ -21 +21 @@ Amazon EKS Local Clusters on Outposts only supports nodes created from the follo - * Arm64-based Amazon Linux 2 (`amazon-linux-2-arm64`) + * Accelerated Neuron Amazon Linux 2023 (`amazon-linux-2023/x86_64/neuron`) @@ -26 +26 @@ Amazon EKS Local Clusters on Outposts only supports nodes created from the follo -Nodes on Local Clusters that run Amazon Linux 2023 (AL2023) AMIs aren’t supported and fail to join the cluster. +AWS ended support for EKS AL2-optimized and AL2-accelerated AMIs, effective November 26, 2025. While you can continue using EKS AL2 AMIs after the end-of-support (EOS) date (November 26, 2025), EKS will no longer release any new Kubernetes versions or updates to AL2 AMIs, including minor releases, patches, and bug fixes after this date. See [this](https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-deprecation-faqs.html) for more information on AL2 deprecation. @@ -73 +73 @@ You can create a self-managed node group for local cluster with the following to - 3. The following command creates a node group in an existing cluster. The cluster must have been created using `eksctl`. Replace `al-nodes` with a name for your node group. The node group name can’t be longer than 63 characters. It must start with letter or digit, but can also include hyphens and underscores for the remaining characters. Replace `my-cluster` with the name of your cluster. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphanumeric character and can’t be longer than 100 characters. The name must be unique within the AWS Region and AWS account that you’re creating the cluster in. If your cluster exists on an Outpost, replace `id` with the ID of an Outpost subnet. If your cluster exists on the AWS Cloud, replace `id` with the ID of a subnet that you didn’t specify when you created your cluster. Replace `instance-type` with an instance type supported by your Outpost. Replace the remaining example values with your own values. The nodes are created with the same Kubernetes version as the control plane, by default. + 3. The following command creates a node group in an existing cluster. The cluster must have been created using `eksctl`. Replace `al-nodes` with a name for your node group. The node group name can’t be longer than 63 characters. It must start with letter or digit, but can also include hyphens and underscores for the remaining characters. Replace `my-cluster` with the name of your cluster. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphanumeric character and can’t be longer than 100 characters. The name must be unique within the AWS Region and AWS account that you’re creating the cluster in. If your cluster exists on an Outpost, replace `id` with the ID of an Outpost subnet. If your cluster exists on the AWS Cloud, replace `id` with the ID of a subnet that you didn’t specify when you created your cluster. Replace the remaining example values with your own values. The nodes are created with the same Kubernetes version as the control plane, by default. @@ -82 +82,3 @@ Create your node group with the following command. - --nodes 3 --nodes-min 1 --nodes-max 4 --managed=false --node-volume-type gp2 --subnet-ids subnet-id + --nodes 3 --nodes-min 1 --nodes-max 4 --managed=false \ + --node-volume-type gp2 --subnet-ids subnet-id \ + --node-ami-family AmazonLinux2023 @@ -109 +111 @@ For a complete list of all available options and defaults, see [AWS Outposts Sup - curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2022-12-23/amazon-eks-nodegroup.yaml + curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2025-11-24/amazon-eks-outpost-nodegroup.yaml @@ -120,0 +123,2 @@ For a complete list of all available options and defaults, see [AWS Outposts Sup + * **ApiServerEndpoint** : Enter the Kubernetes API Server endpoint, visible in EKS console or via DescribeCluster API. + @@ -122,0 +127,6 @@ For a complete list of all available options and defaults, see [AWS Outposts Sup + * **ClusterId** : Enter the id assigned to the cluster by EKS service. Visible via DescribeCluster API. If this id doesn’t match your cluster id, your nodes can’t join the cluster. + + * **CertificateAuthority** : Enter base64 encoded string of the Kubernetes Certificate Authority. Visible in EKS console or via DescribeCluster API. + + * **ServiceCidr** : Enter the Kubernetes Services CIDR. Visible in EKS console or via DescribeCluster API. + @@ -147 +157 @@ The following steps show one operation to retrieve the applicable group. -To use an Amazon EKS optimized accelerated AMI, replace `amazon-linux-2` with `amazon-linux-2-gpu`. To use an Amazon EKS optimized Arm AMI, replace `amazon-linux-2` with `amazon-linux-2-arm64`. +To use an Amazon EKS optimized accelerated AMI, update `NodeImageIdSSMParam` value to the desired SSM parameter. See how to retrieve EKS AMI IDs from SSM [here](https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html). @@ -165,12 +174,0 @@ If you don’t provide a key pair here, the AWS CloudFormation stack creation fa - * **BootstrapArguments** : There are several optional arguments that you can pass to your nodes. For more information, view the [bootstrap script usage information](https://github.com/awslabs/amazon-eks-ami/blob/main/templates/al2/runtime/bootstrap.sh) on GitHub. If you’re adding nodes to an Amazon EKS Local Cluster on AWS Outposts (where the Kubernetes control plane instances run on AWS Outposts) and the cluster doesn’t have ingress and egress internet connection (also known as private clusters), then you must provide the following bootstrap arguments (as a single line). - - --b64-cluster-ca ${CLUSTER_CA} --apiserver-endpoint https://${APISERVER_ENDPOINT} --enable-local-outpost true --cluster-id ${CLUSTER_ID} - -To retrieve the values for `CLUSTER_CA`, `APISERVER_ENDPOINT`, and `CLUSTER_ID` of your Amazon EKS local cluster, run the following AWS CLI commands. Replace cluster-name with the name of your cluster and region (for example, us-east-1) with your cluster’s AWS Region. - - echo "CLUSTER_CA=$(aws eks describe-cluster --name cluster-name --region region --query cluster.certificateAuthority.data --output text)" - - echo "APISERVER_ENDPOINT=$(aws eks describe-cluster --name cluster-name --region region --query cluster.endpoint --output text)" - - echo "CLUSTER_ID=$(aws eks describe-cluster --name cluster-name --region region --query cluster.id --output text)" -