LoginSignup
1
4

More than 5 years have passed since last update.

AWSCLIインストール手順

Posted at

はじめに

AWSCLIを使う際にエラーがやたらに出て、詰まったのでメモ。

環境

  • Mac OS Sierra

AWS CLIのインストール


Pythonのパッケージ管理ツールを経由してawscliを入れるためPythonをインストールする。

$ brew install python

$ sudo easy_install pip

$ sudo pip install awscli

// 上記の方法で出来なかった方は以下
$ sudo pip install awscli --upgrade --ignore-installed six

AWS CLIの設定


// AWSの設定を行う
$ aws configure

上記コマンドを入力後、AWSのアクセスキーとシークレットキーを入力あとは省略してもOKです。

pemファイルの権限

sshで接続する際に、pemファイルの権限がないと怒られたので、同様の方は以下

$ chmod 600 hoge.pem

hoge.pemは任意で変更し、pemファイルまでのパスを記述すればOK

以上で完了です。

1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4