Help improve this page
Want to contribute to this user guide? Scroll to the bottom of this page and select Edit this page on GitHub. Your contributions will help make our user guide better for everyone.
Build a custom Amazon Linux AMI with a script
Amazon Elastic Kubernetes Service (Amazon EKS) has open-source scripts that are used to build the Amazon EKS optimized AMI.
These build scripts are available on
GitHub
The Amazon EKS optimized Amazon Linux AMI is built on top of Amazon Linux 2 (AL2) and Amazon Linux 2023 (AL2023),
specifically for use as a node in Amazon EKS clusters. You can use this repository to view the
specifics of how the Amazon EKS team configures kubelet
, the runtime, the AWS IAM
Authenticator for Kubernetes, and build your own Amazon Linux based AMI from scratch.
The build scripts repository includes a HashiCorp
packer
The GitHub repository also contains the specialized bootstrap
script
Additionally, the GitHub repository contains our Amazon EKS node AWS CloudFormation templates. These templates make it easier to spin up an instance running the Amazon EKS optimized AMI and register it with a cluster.
For more information, see the repositories on GitHub at https://github.com/awslabs/amazon-eks-ami
Amazon EKS optimized AL2 contains an optional bootstrap flag to enable the
containerd
runtime.