Switch Roles

Switch Role

We will use the existing IAM user (with MFA enabled) to implement the Assume-Role mechanism for the IAM role - ec2-admin-team-alpha.

Implement Assume-Role mechanism - ec2-admin-team-alpha

  1. Login to AWS Management Console.

    • Select Users
    • Select Admin created user.
    • Select Add user

Switch Role

  1. Select Security credentials

    • Copy the login path

Switch Role

  1. Use login link with new browser tab.

    • Enter information about Account ID and user name - password
    • Then, select Sign in

Switch Role

  1. Complete the login.

Switch Role

  1. After successful login, click Username displayed in the upper right corner, Console will display respectively as follows @<ACCOUNT_ID_NUMBER_or_ACCOUNT_ID_ALIAS>, then proceed to press Switch Role button. Alternatively, we can copy/paste the saved path.

Switch Role

  1. Select Switch Role.

Switch Role

  1. On the Switch Role page, we will enter the following:
  • In the box Account: <ACCOUNT_ID_NUMBER>.
  • In the box Role: ec2-admin-team-alpha.
  • In the box Display Name (Optional): Optionally enter a reminder name for the next use.
  • Proceed to press the Switch Role button, for the first time there will be some additional information.

Switch Role

  1. Our Web browser will be redirected to a new page.

Switch Role