6
6

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.

awscli インストール

Posted at

MacBookAirにaws-cliをインストールする。

インストール手順

まずpipをインストールしてからaws-cliをインストールすればOK

$ sudo easy_install pip
$ sudo pip install awscli

初期設定実施

各キーの情報はIAM作った時にダウンロードしている
credentials.csvに入っている情報を登録
リージョンは東京リージョン
アウトプットはtextとjsonとtableの3種類があります
今回は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コマンドは引数が多くて覚えきれないので補完を入れます
これでtabキーでガシガシ補完できます

$ echo "complete -C aws_completer aws" >> ~/.bash_profile
$ source ~/.bash_profile
6
6
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
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?