AWS CLI: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 146: Line 146:
* [https://docs.aws.amazon.com/cli/latest/reference/sdb/ AWS » CLI » <code>sdb</code>]
* [https://docs.aws.amazon.com/cli/latest/reference/sdb/ AWS » CLI » <code>sdb</code>]
* [https://docs.aws.amazon.com/cli/latest/reference/waf/ AWS » CLI » <code>waf</code>]
* [https://docs.aws.amazon.com/cli/latest/reference/waf/ AWS » CLI » <code>waf</code>]
* [[EKSctl|AWS » EKS » CLI]]


|valign='top'|
|valign='top'|
Line 154: Line 155:
|-
|-
|valign='top'|
|valign='top'|
* [https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-access-points.html AWS » S3 » Creating an access point]
* [https://docs.aws.amazon.com/AmazonS3/latest/API/RESTAuthentication.html AWS » S3 » REST Authentication]
* [https://awspolicygen.s3.amazonaws.com/policygen.html AWS » S3 » Policy Generator]
* [https://awspolicygen.s3.amazonaws.com/policygen.html AWS » S3 » Policy Generator]
* [https://superuser.com/questions/279986/ AWS » S3 » cURL Upload]
* [https://superuser.com/questions/279986/ AWS » S3 » cURL Upload]
* [https://stackoverflow.com/questions/44751574/ AWS » S3 » cURL Route]
* [https://stackoverflow.com/questions/44751574/ AWS » S3 » cURL Route]
* [[Google Cloud CLI]]
* [https://aws.amazon.com/s3/pricing/ AWS » S3 » Pricing]
* [[Online App]]
* [[Terraform]]
* [[Minikube]]
* [[Minikube]]
* [[VSCode]]
* [[VSCode]]
Line 166: Line 167:


|valign='top'|
|valign='top'|
* [https://github.com/kubernetes-sigs/aws-ebs-csi-driver AWS » EKS » EBS CSI Driver]
* [https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html AWS » EKS » Create Cluster]
* [https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html AWS » EKS » Create Cluster]
* [[Google Cloud CLI]]
* [[Online App]]
* [[Terraform]]
* [[Kubectl]]
* [[Kubectl]]



Latest revision as of 22:33, 16 October 2024

wget -cq https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -P ${HOME}/Downloads
unzip -q ${HOME}/Downloads/awscli-exe-linux-x86_64.zip -d ${HOME}/Downloads/
rm -rf   ${HOME}/Downloads/awscli-exe-linux-x86_64.zip
sudo     ${HOME}/Downloads/aws/install
rm -rf   ${HOME}/Downloads/aws

Playground

cat << INI | tee -a ${HOME}/.aws/config >/dev/null
[default]
region = ap-southeast-1
output = table

INI
cat << INI | tee -a ${HOME}/.aws/credentials >/dev/null
[academia]
aws_access_key_id = AKIBVWTF7RISAULV8Q6Q
aws_secret_access_key = w2JVkDIE9zRTIP/S4m7Mm4cWKlFEYlzg1iGzfCnj

INI
cat << INI | tee -a ${HOME}/.aws/config >/dev/null
[profile academia]
region = ap-southeast-1
output = json

INI

export AWS_DEFAULT_PROFILE=academia
export AWS_PROFILE=academia
aws ec2 describe-vpcs
aws s3 ls
aws kms delete-alias --alias-name \
 arn:aws:kms:ap-southeast-1:235216370500:alias/eks/sdlc_cluster
cat ~/.aws/credentials
cat ~/.aws/config
aws configure --profile academia
aws configure help
aws configure list
aws configure

kubectl config set-context  minikube --cluster=minikue
kubectl config set-context  minikube
kubectl config get-contexts
kubectl config get-clusters
kubectl config view

References