Skip to content

aws-samples/amazon-eks-bottlerocket-mngnodegrp-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Setup Bottlerocket Managed Node Group on EKS with Terraform

By default, instances in a managed node group use the latest version of the Amazon EKS optimized Amazon Linux 2 AMI for its cluster. You can choose between standard and GPU variants of the Amazon EKS optimized Amazon Linux 2 AMI. At this point, Bottlerocket is not natively supported as a built-in OS choice for managed node groups though, in the future, it will be. Until then, this repo and terraform scripts should provide a reliable set of steps to build a managed node group with Bottlerocket nodes using launch templates.

Prerequisites

  • An AWS account with admin privileges - We will assume you already have an AWS account with admin privileges.
  • Command-line tools - Mac/Linux users need to install the latest version of AWS CLI,kubectl, and terraform (>=v0.13.0) on their workstation.Whereas Windows users need to create an EC2 Cloud9 environment in AWS and then install these CLI's inside their Cloud9 environment.

Architecture

image

Usage Example

  • Clone terraform codes in your home directory
git clone  https://github.com/aws-samples/amazon-eks-bottlerocket-mngnodegrp-terraform.git
  • Change directory to amazon-eks-bottlerocket-mngnodegrp-terraform
cd amazon-eks-bottlerocket-mngnodegrp-terraform
  • Then run init, plan and apply commands.
terraform init
terraform plan
terraform apply --auto-approve

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •