1
0

More than 1 year has passed since last update.

AWS IAMアカウントの作成とaws configureの設定

Last updated at Posted at 2023-01-03

事前知識

AWS IAMアカウントの作成

  1. IAMコンソールを開く。
    01.png
  2. ユーザ追加 を押下する。
    02.png
  3. ユーザー名 を入力し、アクセスキー・プログラムによるアクセス にチェックを付ける。
  4. アクセス権限 を押下する。
    03.png
  5. 既存のポリシーを直接アタッチ を選択し、 AdministratorAccess にチェックを付ける。
  6. タグ を押下する。
    04.png
  7. キーに Name , 値に Admin と入力し、確認 を押下する。
    05.png
  8. ユーザー作成 を押下する。
    06.png
  9. アクセスキーIDシークレットアクセスキー をメモする。
    07.png

aws configureの設定

  • コマンド
>aws configure
AWS Access Key ID [None]: 【アクセスキーID】
AWS Secret Access Key [None]: 【シークレットアクセスキー】
Default region name [None]: 【リージョン】
Default output format [None]: 【出力形式】
  • 実行例
>aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json
1
0
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
0