Skip to content

Instantly share code, notes, and snippets.

@moon-home
Last active November 21, 2020 02:28
Show Gist options
  • Save moon-home/34e6765329a1de5f204a35f8f3132345 to your computer and use it in GitHub Desktop.
Save moon-home/34e6765329a1de5f204a35f8f3132345 to your computer and use it in GitHub Desktop.
# Download awscli
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
# Install
sudo installer -pkg ./AWSCLIV2.pkg -target /
# Verify
aws --version
aws-cli/2.0.7 Python/3.7.4 Darwin/19.4.0 botocore/2.0.0dev11
which aws
# Configure confidential
aws configure
AWS Access Key ID [None]: ABCDEFGHIAZBERTUCNGG (Replace your creds when prompted)
AWS Secret Access Key [None]: (Put your creds when prompted)
Default region name [None]: us-east-1
Default output format [None]: json
# Download kubectl
mkdir kubectlbinary
cd kubectlbinary
curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/darwin/amd64/kubectl
chmod +x ./kubectl
mkdir -p $HOME/bin && cp ./kubectl $HOME/bin/kubectl && export PATH=$PATH:$HOME/bin
echo 'export PATH=$PATH:$HOME/bin' >> ~/.bash_profile
# Verify the kubectl version
kubectl version --short --client
# Install Homebrew and Weaveworks Homebrew tap
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew tap weaveworks/tap
# Install eksctl
brew install weaveworks/tap/eksctl
# Verify eksctl version
eksctl version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment