Created
January 3, 2025 11:14
-
-
Save iam-veeramalla/7e32999189f4aa9064334d1d27bd877c to your computer and use it in GitHub Desktop.
EKS Cluster Creation and Teardown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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