Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iam-veeramalla/7e32999189f4aa9064334d1d27bd877c to your computer and use it in GitHub Desktop.
Save iam-veeramalla/7e32999189f4aa9064334d1d27bd877c to your computer and use it in GitHub Desktop.
EKS Cluster Creation and Teardown
# Create EKS Cluster
eksctl create cluster --name=observability \
--region=us-east-1 \
--zones=us-east-1a,us-east-1b \
--without-nodegroup
eksctl utils associate-iam-oidc-provider \
--region us-east-1 \
--cluster observability \
--approve
eksctl create nodegroup --cluster=observability \
--region=us-east-1 \
--name=observability-ng-private \
--node-type=t3.medium \
--nodes-min=2 \
--nodes-max=3 \
--node-volume-size=20 \
--managed \
--asg-access \
--external-dns-access \
--full-ecr-access \
--appmesh-access \
--alb-ingress-access \
--node-private-networking
# Update ./kube/config file
aws eks update-kubeconfig --name observability
# Delete the EKS Cluster
eksctl delete cluster --name observability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment