LoginSignup
1
1

More than 3 years have passed since last update.

AWSアカウントのrootユーザーについて

Last updated at Posted at 2019-06-16

AWSのアカウントを作成すると、登録したメールアドレスとパスワードを入力してログインするかと思います。
このとき、rootユーザとしてログインしたことになります。
Screen Shot 2019-06-16 at 3.10.41 PM.png

rootユーザの取り扱いについて

AWSサービスに関する全ての権限を所有していますので、通常作業(EC2の作成等)で使用するのは好ましくありません。
また、パスワード情報を流出した場合全ての権限があるがゆえに、大変危険な状況に陥ります。
そこで、MFA(二段階認証)を設定しセキュリティを強化します。

MFA(二段階認証)とは

ログインの際に通常のパスワード入力後、さらに追加で情報を入力することです。
今回は手持ちのスマホにAuthyもしくはGoogle Authenticatorをインストールして使用することにします。(両者はGoogle Play StoreもしくはApp Marketplaceで入手できます。)
Authyはスマホデバイスだけでなく、Google chromeの拡張機能としても使えますので、万が一スマホを紛失してもPCがあればそちらで確認できます。
Screen Shot 2019-06-16 at 3.46.09 PM.png

設定

ユーザ名をクリックし、My Security Credentialsをクリックします。
Screen Shot 2019-06-16 at 3.23.42 PM.png

警告画面がでますので、Continue to Security Credentialsを押して続行します。
Screen Shot 2019-06-16 at 3.26.45 PM.png
Active MFAを選択します。
Screen Shot 2019-06-16 at 3.29.11 PM.png
Virtual MFA deviceを選択
Screen Shot 2019-06-16 at 3.30.57 PM.png

QRコードを表示し、Authyで読み込みます。
出現したワンタイムパスワードを入力code 1に入力し、再度生成されたワンタイムパスワードをcode 2に入力します。
Screen Shot 2019-06-16 at 3.35.11 PM.png

設定が完了しました。
次回以降のログインでは、MFAのワンタイムパスワードを入力することになります。

Screen Shot 2019-06-16 at 3.38.44 PM.png

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