A managed node group fails with `NodeCreationFailure: Instances failed to join the kubernetes cluster`.
IntermediateTroubleshootingEKS-specific issues
Answer
Likely causes → Nodes boot but cannot register: no route to the cluster endpoint (private subnets without NAT and no VPC endpoints for ECR/S3/STS/EC2), security groups blocking 443 to the control plane, the node IAM role missing policies (AmazonEKSWorkerNodePolicy, AmazonEC2ContainerRegistryReadOnly, CNI policy), a missing access entry, or broken custom user data/AMI.
Diagnose →
aws eks describe-nodegroup --cluster-name prod --nodegroup-name ng-1 --query 'nodegroup.health'
# On an instance via SSM
sudo journalctl -u kubelet --no-pager | tail -50
sudo cat /var/log/cloud-init-output.log | tail -50
Fix → Fix networking (NAT or interface endpoints for ecr.api, ecr.dkr, sts, ec2, plus S3 gateway endpoint), attach the node policies, or fix the launch template user data.
Prevent → Use the EKS-optimized AMI and managed node groups; run the AWS AWSSupport-TroubleshootEKSWorkerNode runbook in pipelines for new node configs.
More on EKS-specific issues
A new engineer gets `error: You must be logged in to the server (Unauthorized)` on EKS even though their IAM role is in `aws-auth`.IntermediateAfter someone edited `aws-auth`, all nodes went `NotReady` and nobody except the cluster creator can use kubectl.AdvancedPods are stuck in ContainerCreating and the aws-node logs show `InsufficientFreeAddressesInSubnet` / `failed to assign an IP address to container`.AdvancedAfter enabling prefix delegation (`ENABLE_PREFIX_DELEGATION=true`), nodes still cap at 29 Pods.IntermediatePods on EKS fail to pull from ECR with `failed to resolve reference ... 401 Unauthorized` or `no basic auth credentials`.IntermediateAn app using IRSA fails with `AccessDenied: Not authorized to perform sts:AssumeRoleWithWebIdentity`.Advanced