What is IAM?

IAM decides who can do what in your AWS account. Every other service depends on it, so we start here.

1 min read

Every action in AWS is a request: "upload this file", "start this server", "read this table". Before AWS runs it, it asks two questions:

  1. Who is asking? (authentication)
  2. Are they allowed to do this? (authorization)

AWS Identity and Access Management (IAM) answers both. It is free, it is global (not tied to a Region), and every other AWS service relies on it.

Think of it like this

Think of your AWS account as an office building. IAM is the security desk. It issues badges (identities) and decides which doors each badge opens (permissions). With no badge you can't get in, and a badge only opens the doors it was set up for.

Why it matters

Most cloud security incidents aren't clever hacks. They're mistakes like a leaked password, an access key pushed to GitHub, or a permission that was far broader than it needed to be. Learning IAM well is the cheapest security upgrade you can make.

Our running project

Across this site we build one small project, piece by piece: NoteSnap, an app where you upload a text note and get back an AI-written summary. Each service adds one part. IAM comes first because every later piece needs permission to talk to the others.

Key takeaways

  • IAM answers two questions for every request: who are you, and are you allowed?
  • IAM is free and global. You don't pick a Region for it.
  • By default nothing is allowed. You have to grant permissions explicitly.

Check your understanding

Pick an answer to see the explanation.

  1. 1. What are the two questions IAM answers for every AWS request?