4
4

More than 3 years have passed since last update.

[CentOS7]aws cliのインストール

Last updated at Posted at 2020-09-01

aws cliのインストール

  • pipのウェブサイトからインストールスクリプトをダウンロード
# 移動
cd /var/tmp

# インストールスクリプロトをダウンロード
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py
  • pipを使用してawscliをインストール
sudo pip install awscli
  • バージョン確認
# バージョン確認
aws --version
aws-cli/1.18.128 Python/2.7.5 Linux/3.10.0-1127.19.1.el7.x86_64 botocore/1.17.51
  • awsコマンドの設定
aws configure
==========
AWS Access Key ID [None]: XXXXXXXXXXXXX
AWS Secret Access Key [None] : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [None] : xxxxxxxx
Default output format [None]: json
==========
AWS Access Key ID : アクセスキー
AWS Secret Access Key : シークレットキー
Default region name : デフォルトのリージョン (参考 : https://docs.aws.amazon.com/ja_jp/general/latest/gr/rande.html)
Default output format : デフォルトのフォーマット
4
4
2

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
4
4