MacにAWS CLIインストール
インストールスクリプト
pip
のウェブサイトからインストールスクリプトをダウンロードし実行します。
1
2
3
4
5
6
| $ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
$ pip -V
pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
$ sudo python get-pip.py
|
AWS CLI インストール
1
2
3
4
| $ sudo pip install awscli
$ aws --version
aws-cli/1.11.13 Python/2.7.12 Darwin/15.6.0 botocore/1.4.70
|
AWS CLI 設定
1
2
3
4
5
| $ aws configure
AWS Access Key ID [None]: AK**********************
AWS Secret Access Key [None]: wJa****************************
Default region name [None]: us-west-2
Default output format [None]: ENTER
|
設定ファイル
1
2
3
4
5
6
| $ tree .aws
.aws
├── config
└── credentials
0 directories, 2 files
|