Setup time ~ 25 minutes
brew install awscli
brew tap weaveworks/tap
brew install weaveworks/tap/eksctl
Ref: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Ref: https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html
You'll need the programmatic credentials (Key/Secret) with the appropriate priveledges.
Ref: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-quickstart.html
eksctl create cluster \
--name anton-cluster \
--node-type c5.4xlarge \
--nodes 3 \
--node-volume-size 50 \
--region us-east-2
Cluster creation time is ~20 minutes. Grab a coffee or walk your dog while you wait.
Ref: eksctl create cluster
documentation https://eksctl.io/usage/creating-and-managing-clusters/
Ref: VM types/sizes: https://aws.amazon.com/ec2/instance-types/ recommended node size - at least 4 cores/16GB RAM (m5.xlarge+)
eksctl create cluster
automatically adds newly created cluster credentials as the default context upon creation. No additional actions needed.
eksctl delete cluster \
--name anton-cluster \
--region us-east-2
eksctl delete cluster
will delete the kubectl context for you. No additional actions needed.