Skip to main content

How to Create an EKS Cluster using eksctl

Log Into AWS Using CLI

aws sso login --profile $AWS_PROFILE

Create Cluster

eksctl create cluster \
--name $EKS_CLUSTER_NAME \
--region $AWS_REGION \
--nodegroup-name "kbbgl-nodegroup" \
--node-type "t3.medium" \
--nodes 1 \
--managed

Enable CloudWatch Logging on the EKS for authentication events

aws eks update-cluster-config \
--name $EKS_CLUSTER_NAME \
--region $AWS_REGION \
--logging '{"clusterLogging":[{"types":["authenticator"],"enabled":true}]}'