AWS CLI: Difference between revisions
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
aws --version | aws --version | ||
aws-cli/1.16.25 Python/2.7.10 Darwin/17.7.0 botocore/1.12.15 | aws-cli/1.16.25 Python/2.7.10 Darwin/17.7.0 botocore/1.12.15 | ||
=Configuration= | |||
AWS CLI configuration file is maintained by default in ~/.aws/config: | |||
<syntaxhighlight lang='text'> | |||
[default] | |||
region = us-west-2 | |||
ca_bundle = /path/to/ca-bundle.pem | |||
[profile testing] | |||
region = us-west-1 | |||
[profile testing2] | |||
region = eu-west-1 | |||
[preview] | |||
cloudsearch = true | |||
</syntaxhighlight> | |||
=TODO= | =TODO= | ||
<font color=darkgray>Define the relationship between the AWS CLI and [[Amazon EC2 CLI|EC2 CLI]]</font> | <font color=darkgray>Define the relationship between the AWS CLI and [[Amazon EC2 CLI|EC2 CLI]]</font> |
Revision as of 20:11, 24 October 2018
External
Internal
Overview
AWS CLI is a package that provides commands for interacting with the AWS services. All functionality available on the web Amazon Management Console is made available from command line.
Installation
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
Result (it should be already in PATH):
aws --version aws-cli/1.16.25 Python/2.7.10 Darwin/17.7.0 botocore/1.12.15
Configuration
AWS CLI configuration file is maintained by default in ~/.aws/config:
[default]
region = us-west-2
ca_bundle = /path/to/ca-bundle.pem
[profile testing]
region = us-west-1
[profile testing2]
region = eu-west-1
[preview]
cloudsearch = true
TODO
Define the relationship between the AWS CLI and EC2 CLI