AWS CLI: Difference between revisions
Jump to navigation
Jump to search
Line 102: | Line 102: | ||
|- | |- | ||
|valign='top' colspan='3'| | |colspan='3'| | ||
---- | |||
|- | |||
|valign='top'| | |||
* [https://docs.aws.amazon.com/cli/latest/reference/payment-cryptography/ AWS » CLI » <code>payment-cryptography</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/medical-imaging/ AWS » CLI » <code>medical-imaging</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/machinelearning/ AWS » CLI » <code>machinelearning</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/neptune/ AWS » CLI » <code>neptune</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/pricing/ AWS » CLI » <code>pricing</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/lambda/ AWS » CLI » <code>lambda</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/kafka/ AWS » CLI » <code>kafka</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/kms/ AWS » CLI » <code>kms</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/iot/ AWS » CLI » <code>iot</code>] | |||
* [https://docs.aws.amazon.com/cli/latest/reference/m2/ AWS » CLI » <code>m2</code>] | |||
|valign='top'| | |||
|valign='top'| | |||
|- | |||
|colspan='3'| | |||
---- | ---- | ||
|- | |- |
Revision as of 06:26, 18 July 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 configure --profile academia aws configure help aws configure list aws configure |
cat ~/.aws/credentials cat ~/.aws/config |
References
| ||
| ||