Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.22 KB

aws.md

File metadata and controls

51 lines (33 loc) · 1.22 KB

AWS - Amazon Web Services

DevOps Bash tools for AWS, EKS, EC2 etc

HariSekhon/DevOps-Bash-tools

Install AWS CLI

Follow the install doc or paste this to run an automated install script which auto-detects and handles Mac or Linux:

git clone https://github.com/HariSekhon/DevOps-Bash-tools
bash-tools/install/install_aws_cli.sh

Then configure depending on if you're using SSO or access keys etc.

Set up access to EKS - Elastic Kubernetes Services

First set up your AWS CLI as above.

Run the eks_kube_creds.sh script from the DevOps-Bash-tools repo's aws/ directory.

This will find and configure all your kubernetes clusters in the current AWS account.

aws_kube_creds.sh
kubectl config get-contexts

switch to the cluster you want:

kubectl config use-context <name>
kubectl get pods --all-namespaces

Then see Kubernetes for configs, scripts and .envrc.

Partial port from private Knowledge Base page 2012+