Sub topic 3
Signing in to the Management Console
This chapter assumes you know what an AWS account is, can use a terminal, and have a sign-in that lets you view resources. The Management Console is the browser interface for AWS. How you sign in depends on which kind of identity you have, and that choice affects security and what you see afterward.
Three ways to sign in
The sign-in page asks what kind of user you are. The answer decides which credentials you present.
| Identity | Where you sign in | Typical use |
|---|---|---|
| Root user | The main sign-in page, "Root user" option, with the account email | Rare account-level tasks only |
| IAM user | A sign-in URL that includes the account ID or alias, with a user name and password | Accounts that manage users directly |
| IAM Identity Center user | Your organization's access portal URL | Workforce access, usually with several accounts and roles |
The root user has full control of the account and cannot be restricted by normal permissions. Use it only for the few tasks that require it, and use another identity for daily work.
Signing in as an IAM user
An IAM user sign-in needs three values: the account ID (12 digits) or an account alias, the user name, and the password. An alias is a friendly name an administrator sets, so the sign-in URL looks like https://my-alias.signin.aws.amazon.com/console. If MFA is enabled, the console then asks for a code from your authenticator app or a security key.
Signing in through IAM Identity Center
With IAM Identity Center, you open the access portal URL your administrator gave you, such as https://my-sso-portal.awsapps.com/start. After you authenticate, the portal lists the accounts and roles assigned to you. Choose an account, then choose Management console next to a role.
The portal also offers access keys for the CLI. Chapter material on aws configure sso covers that later. For now, note that the same portal serves both the console and the CLI.
The console session you get is temporary. It runs under a role, so the permissions you have are those of that role, not of a personal user.
Confirming who you are
After signing in, open the account menu in the top right corner. It shows the account ID and the identity you are using. For an assumed role or Identity Center session, you will see the role name and session name rather than a user name. Check this whenever something is denied, because the most common cause is being in a different account or role than you thought.
The Region shown next to the account menu is separate from your identity. The Region controls where most resources are created and listed. Chapter material on navigation covers it in detail.
Common sign-in problems
- Wrong sign-in type: Entering an IAM user name on the root user form fails. Pick the option that matches your identity.
- Missing account ID or alias: The IAM user form needs one of them. Use the account-specific URL to skip that step.
- Lost MFA device: You cannot bypass MFA yourself. An administrator must reset or replace the device.
- Expired session: Identity Center and role sessions end after a set duration. Sign in again through the portal.
- Password sign-in as root for routine work: It works but removes the safeguards you want. Switch to a role.
Exercise
You sign in through your organization's access portal and see several accounts listed. After choosing a role, you get "access denied" when viewing a resource you expected to see. What is the first thing to check in the console?
Show answer
Open the account menu and confirm the account ID and role name. You may have opened the wrong account or a role with fewer permissions than the one you need. If they are correct, ask an administrator whether that role includes the required permissions.
Exercise
Which three values does an IAM user need to sign in to the console, and what does an account alias replace?
Show answer
The account ID or alias, the user name, and the password (plus an MFA code if MFA is enabled). The alias replaces the 12-digit account ID.