13
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWS CLIインストールと初期設定を行う(Mac,Ubuntu)

Last updated at Posted at 2015-05-11

インストール

pipを使うので、入っていない場合はまずpipをインストール

// mac
$ sudo easy_install pip
// ubuntu
$ sudo apt-get install python-pip

awscliをインストール

$ sudo pip install awscli

コマンド実行できたらOK

$ aws help

初期設定

設定コマンドを実行
※formatはjson/table/textを選択可能

$ aws configure
AWS Access Key ID [None]: ***
AWS Secret Access Key [None]: ***
Default region name [None]: ap-northeast-1
Default output format [None]: text

awsコマンドを適当に叩いてみて想定通りに出力されたらOK

$ aws ec2 describe-instances
13
13
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
13
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?