Skip to the workspace
Pebellslearn by building
IAM — Who May Do What  ›  Lesson

Root User, IAM Users and Groups

Users / User Groups 14 minThe root user can do anything and should be locked away with MFA, while everyday people get IAM identities whose permissions come from the groups they belong to.

aws / Root User, IAM Users and Groups

Explore each scene at your own pace.

01 · The rule

The rule

Root User, IAM Users and Groups

When Inkwell opened its AWS account, it used an email address and a password. That login can do absolutely anything, including closing the account. Now two developers and an accountant need access. Handing all three that one login would be like giving every employee the master key and the company chequebook.

The rule

Lock the root away; give people groups, and give groups permissions.

The root user is the identity created with the account. It has complete access, and you cannot limit it by attaching IAM policies to it. Treat it like a safe-deposit key:

  • Turn on MFA (multi-factor authentication) immediately.
  • Create no access keys for it.
  • Use it only for the handful of tasks that need it, such as closing the account.

IAM users are identities for individual people or applications inside the account. Each has its own credentials: a password for the console and optional access keys for the CLI and SDKs. Every action is logged under their name.

IAM groups are collections of users. You attach permissions to the group, and every member receives them:

  • A user can belong to several groups (up to ten).
  • Groups contain users only; a group cannot contain another group.
  • A group is not an identity: nobody signs in as a group.
Group: developers  → EC2 and inkwell-covers bucket access
    Priya, Kabir
Group: billing     → read-only billing access
    Meera

For human sign-in, AWS now recommends IAM Identity Center, which gives people short-lived credentials and works across many accounts. It uses the same idea: people belong to groups, and groups carry permissions. Plain IAM users remain useful for small setups and for learning.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.