What is IAM?

In short
IAM, or Identity and Access Management, is an AWS service that controls who can sign in to your AWS account and what they are allowed to do. It decides which people and applications can use which AWS resources. IAM is free to use, and you pay only for the other AWS services you access.
IAM stands for AWS Identity and Access Management. It is a web service inside Amazon Web Services that helps you control access to your AWS resources securely. Resources are the things you run in the cloud, such as virtual servers, storage buckets and databases. IAM lets you decide who may use each of them and what they may do.
Two questions IAM answers
IAM focuses on two related questions. The first is authentication: who are you? When someone signs in with a password or other credentials, AWS checks those credentials against a known identity. The second is authorization: what are you allowed to do? Once the identity is confirmed, AWS checks the permissions attached to it before any action happens.
These two steps happen every time you use AWS. Signing in to the console does not give you access to every service. When you open a particular service, AWS checks whether your identity is allowed to use it, which policies apply, and whether any other rules block the request.
Identities you will work with
When you create an AWS account, you get one sign-in identity called the root user. The root user has complete access to every service and resource in the account. Because of that power, you should not use it for everyday work. Keep it for the few tasks that truly require it.
Instead, use IAM to create other identities for the people and systems that need access. Common examples include administrators, analysts and developers. Each identity receives only the access it needs for its tasks. Besides IAM users, the documentation mentions roles, federated principals from outside identity systems, and applications. A principal is the general term for any of these entities that AWS trusts to make requests.
How access is granted
Permissions are described in policies. A policy is a document that states which actions are allowed or denied on which resources. You attach policies to users, groups or roles. When a principal makes a request, AWS evaluates the policies that apply to it and decides whether to allow the action.
For example, a principal might launch a new virtual server, change the membership of an IAM group, or delete a storage bucket. Each of those actions needs its own permission. If the policies do not allow it, the request fails. Requests can come from within your account or from another AWS account that you have chosen to trust.
Changes take time to spread
IAM is eventually consistent. This means that a change you make may take a short while to be visible everywhere. AWS stores IAM data on many servers in several data centers, so a successful change must be copied to all of them. Changes include creating or updating users, groups, roles and policies.
Because of this delay, avoid making IAM changes inside the critical code paths of your application. A better approach is to make them in a separate setup routine that runs less often. Check that a change has reached the system before your production work depends on it. Our page on auto scaling explains another case where automated setup needs careful timing.
Cost
IAM itself, IAM Identity Center and AWS Security Token Service are free features of your account. You pay only when you use other AWS services through your IAM users or temporary credentials from AWS STS. IAM Access Analyzer's external access analysis is also free, but unused access analysis and custom policy checks carry charges. For exact prices, check the IAM Access Analyzer pricing page linked from the official guide.
Getting started
A good first step is to secure the root user, then create an administrator identity for daily work. Give each team member their own identity rather than sharing one login. Review the permissions you grant from time to time and remove any that are no longer needed. If you store files in the cloud, you may also want to read about object storage, since buckets are a common resource that IAM protects.
For the full official details, read the IAM User Guide introduction at the documentation link above.
FAQ
Is IAM free to use?
Yes. IAM, IAM Identity Center and AWS STS are included with your account at no extra charge. You pay only for the other AWS services that you access with those identities.
What is the difference between authentication and authorization in IAM?
Authentication confirms who you are when you sign in. Authorization decides what that identity is allowed to do after it is confirmed.
Why should I avoid using the root user for daily tasks?
The root user has complete access to every service and resource in the account. Creating separate identities with limited permissions reduces the risk of accidental or harmful changes.
Why might an IAM change not work right away?
IAM is eventually consistent, so a change must be copied to many servers before it is visible everywhere. Check that the change has propagated before relying on it in production.
Sources
This page is based on the official documentation below. Read it for full detail.
IAM — official documentation ↗IAM in the news
Google Cloud previews Unified Access Policies to combine allow and deny rules in IAM
Google Cloud has released Unified Access Policies in preview at no extra cost. The new engine merges IAM allow and deny rules into one policy schema that can be bound across up to 25 organization, folder, or project targets.
Google Cloud Pushes Teams Off Raw Gemini API Keys Toward Identity-Based Access
Google Cloud published a five-step guide for moving AI prototypes off shared Gemini API keys and onto user logins and service accounts. It also describes spend caps that pause a service once a budget is reached.

