AWS in 1 Min · Episode 20

AWS IAM groups explained

Permissions for a whole team. Watch the one-minute video, then read the details.

David Gomez1:16 video · 3 min read

"Give each user their own permissions." It works for three people. With thirty, nobody knows who can do what any more: every user has a hand-picked mix of policies, each one has to be audited separately, and someone always keeps access from a job they left a year ago. IAM groups fix that by attaching permissions to the team instead of the person.

What an IAM group is

An IAM user group is a collection of IAM users. You attach a policy to the group, and every user in it receives those permissions. The group itself owns nothing and does nothing; it's a way to manage many users at once.

The daily work becomes simple:

  • Someone joins the team: add them to the group.
  • Someone changes jobs: remove them from the old group and add them to the new one.
  • The team needs a new permission: change the group's policy once.

No per-user policy editing, and an audit only has to answer two questions: what can each group do, and who is in it?

Users can be in several groups

A user can belong to more than one group, and the permissions add up. A developer who is also on call can be in Developers and OnCall and get both sets. If any policy contains an explicit Deny, that deny still wins over the allows from other groups.

This makes groups a good fit for job functions: Developers, Finance, ReadOnlyAuditors, Admins. Keep the names plain and the purpose obvious.

The limits worth knowing

  • Groups can't be nested. A group contains only users, never other groups.
  • There is no default group. No group automatically includes everyone; if you want one, you create it and add each user.
  • A group is not an identity. It has no credentials and can't sign in. You also can't name a group as the Principal in a resource-based policy (a bucket policy, for example) or in a role's trust policy, because principals are authenticated identities and a group isn't one.
  • Quotas apply. The number of groups per account and the number of groups a user can join are limited; check the IAM quotas page for current values.

A common mistake is attaching policies both to groups and directly to individual users "just this once". Those one-off attachments are exactly what gets forgotten. Keep permissions on groups and exceptions rare.

Groups in IAM Identity Center

AWS recommends that people sign in through IAM Identity Center rather than as IAM users. The group idea carries over directly: you put people in groups (often synced from your company directory), then assign a group a permission set in one or more accounts. Behind the scenes that gives members a role with temporary credentials. If your organization has more than one account, this is where your groups should live; IAM user groups only exist inside a single account.

Where AI fits

Access to AI models is a permission like any other. On Amazon Bedrock, most models are available in an account by default, so what a person can use is decided by IAM. A clean way to manage it:

  1. Create a group for the team, for example DataScience.
  2. Attach a policy that allows bedrock:InvokeModel only on the model ARNs you approved.
  3. Add and remove people as the team changes.

A new hire gets the right model access in one step, and when you approve a new model you update one policy instead of every user. The same pattern works with an Identity Center group and a permission set.

Quick recap

  • Attach permissions to the group, not the person; members inherit them.
  • A user can be in several groups, and the permissions add up.
  • Groups can't nest, can't sign in, and can't be a policy principal.
AWS in 1 Min #20 · 1:16

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS