This repository contains a demo project created as part of my DevOps studies in the TechWorld with Nana – DevOps Bootcamp.
Demo Project: Create EKS cluster with eksctl
Technologies used: Kubernetes, AWS EKS, Eksctl, Linux
Project Description:
- Create EKS cluster using eksctl tool that reduces the manual effort of creating an EKS cluster
Official repository: eksctl-io/eksctl
Linux / macOS:
# Set architecture: amd64, arm64, armv6, or armv7
ARCH=arm64
PLATFORM=$(uname -s)_$ARCH
curl -sLO "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_$PLATFORM.tar.gz"
# (Optional) Verify checksum
curl -sL "https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_checksums.txt" | grep $PLATFORM | sha256sum --check
tar -xzf eksctl_$PLATFORM.tar.gz -C /tmp && rm eksctl_$PLATFORM.tar.gz
sudo install -m 0755 /tmp/eksctl /usr/local/bin && rm /tmp/eksctlVerify the installation:
eksctl versionEnsure your AWS CLI profile is set up and active:
aws configure list --profile admin
export AWS_PROFILE=adminThis approach uses cluster.yaml for a declarative, reproducible setup.
Validate the configuration before applying:
eksctl create cluster -f cluster.yaml --dry-runCreate the cluster:
eksctl create cluster -f cluster.yamlCreate a cluster entirely via command-line arguments:
eksctl create cluster \
--name demo-cluster \
--version 1.35 \
--region eu-central-1 \
--nodegroup-name demo-nodes \
--node-type t2.micro \
--nodes 2 \
--nodes-min 1 \
--nodes-max 3 \
--profile admin| Flag | Description |
|---|---|
--version 1.35 |
Kubernetes version |
--node-type t2.micro |
EC2 instance type for worker nodes |
--nodes 2 |
Desired number of nodes |
--nodes-min/max |
Auto-scaling range |



