Created
April 21, 2019 19:12
-
-
Save seandavi/419d7ca21ecdb63c8088521968679bd6 to your computer and use it in GitHub Desktop.
Small bash script to install eksctl and then create cluster
This file contains hidden or 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
#!/bin/bash | |
# Start EKS cluster on AWS | |
# Install eksctl (https://eksctl.io/) | |
# On mac, homebrew | |
brew tap weaveworks/tap | |
brew install weaveworks/tap/eksctl | |
# start cluster (takes a few minutes) | |
eksctl create cluster --asg-access \ | |
--full-ecr-access --alb-ingress-access \ | |
--node-type t3.medium --name cancerdatasci-main | |
--tags "project=omicidx,use=science" | |
# describe working cluster | |
eksctl get cluster --name=cancerdatasci-main # [--name=<name>] | |
# or all clusters | |
eksctl get cluster | |
# and delete resources | |
# | |
# eksctl delete cluster cancerdatasci-main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment