Cloud CLI

eksctl

Official CLI for creating and managing AWS EKS clusters

🐧 Linux🍎 Mac🪟 Windows
Reviewed: Tested on: Kubernetes 1.29 · Terraform 1.8 · Ubuntu 22.04

What is this?

eksctl creates and manages Kubernetes clusters on Amazon AWS with simple commands.

📥

Step 01

Install eksctl

(01)Install

Linux
1# Linux
2ARCH=amd64
3PLATFORM=$(uname -s)_$ARCH
4curl -sLO "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$PLATFORM.tar.gz"
5tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && sudo mv /tmp/eksctl /usr/local/bin

Step 02

Verify

(01)Version

Linux
1eksctl version
2aws sts get-caller-identity

Step 03

Manage EKS Clusters

(01)Create and manage cluster

Linux
1# Create cluster
2eksctl create cluster --name my-cluster --region us-east-1 --nodes 2
3
4# List clusters
5eksctl get cluster
6
7# Delete cluster
8eksctl delete cluster --name my-cluster --region us-east-1