https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/cli-chap-install.html
aws --version
$ aws configure
AWS Access Key ID [None]: ABCDEFGHIAZBERTUCNGG (替换Access Key ID)
AWS Secret Access Key [None]: uMe7fumK1IdDB094q2sGFhM5Bqt3HQRw3IHZzBDTm (替换Secret Access Key)
Default region name [None]: us-east-1
Default output format [None]: json
aws ec2 describe-vpcs
如果你确实是使用EKS的Kubernetes,建议使用aws提供的kubectl命令工具。
AWS
https://docs.aws.amazon.com/zh_cn/eks/latest/userguide/install-kubectl.html
官方
https://kubernetes.io/docs/tasks/tools/
curl -o kubectl.exe https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/windows/amd64/kubectl.exe
更新系统PATH环境变量,添加C:\apps\kubectl
验证kubectl版本
kubectl version --client
直接删除程序文件以及PATH环境变量即可。
https://docs.aws.amazon.com/zh_cn/eks/latest/userguide/eksctl.html
EKS最佳实践:
https://aws.github.io/aws-eks-best-practices/security/docs/iam/