テクめも

プログラミング関連のちょっとしたTipsなどを書いています。

awscliをインストールする

インストール

# macの場合のみ
$ brew install awscli

OR

$ pip install awscli

設定

$ aws configure
AWS Access Key ID [None]: xxxx
AWS Secret Access Key [None]: xxxxxx
Default region name [None]: ap-northeast-1
Default output format [None]: json
  • ~/.aws/configにDefault region nameとDefault output formatが
  • ~/.aws/credentialsにAWS Access Key IDとAWS Secret Access Keyが

書き込まれる。

参考

AWS Command Line Interface とは - AWS Command Line Interface