{0xc00044b600 0xc0004cf0c0} Install CLI tools :: Distributed training with Amazon SageMaker / Amazon EKS Workshop

Install CLI tools

Navigate to the following directory for part 3 of the workshop

cd ~/SageMaker/distributed-training-workshop/notebooks/part-3-kubernetes/

Install eksctl

To get started we’ll fist install the eksctl CLI tool. eksctl simplifies the process of creating EKS clusters.

pip install awscli --upgrade --user
curl --silent --location "https://github.com/weaveworks/eksctl/releases/download/latest_release/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp

Move eksctl to /usr/local/bin to that it’s on path

sudo mv /tmp/eksctl /usr/local/bin
eksctl version

Install kubectl

Kubectl is a command line interface for running commands against Kubernetes clusters. Run the following to install Kubectl

curl -o kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin
kubectl version --short --client

Install aws-iam-authenticator

curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator

chmod +x ./aws-iam-authenticator

sudo mv aws-iam-authenticator /usr/local/bin