1.1.6.1. AWS CLIをインストールする ※Wasabiに保存するパターンのみ実施¶
注釈
- インターネット接続可能な環境で実行してください。
- 以下のコマンドを実行し、unzipをインストールします。
# yum install unzip
- 以下のコマンドを実行し、「awsxliv.zip」をダウンロードします。
# curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awsxliv2.zip”
- 以下のコマンドを実行し、「awsxliv.zip」を解凍します。
# unzip awsxliv2.zip
- 以下のコマンドを実行し、AWS CLIをインストールします。
# ./aws/install
- 以下のコマンドを実行し、バージョンが表示されることを確認します。
# /usr/local/bin/aws --version
1.1.6.2. AWS CLIの環境を設定する ※Wasabiに保存するパターンのみ実施¶
注釈
- WasabiでAWS CLIを利用する際の情報につきましては、Wasabiの KnowledgeBase をご確認ください。
- 「アクセスキー」および「シークレットキー」、「リージョン名」は、ご利用の環境にあわせて設定してください。
以下のコマンドを実行し、アクセスキーおよびシークレットキーを設定します。
# aws configure AWS Access Key ID [None]: Wasabiユーザーのアクセスキー AWS Secret Access Key [None]: Wasabiユーザーのシークレットキー Default region name [None]: ap-northeast-1 Default output format [None]: