Almost every AWS mistake that makes the news starts with access: a key committed to a public repository, an admin policy given to everyone, or an account with no second factor. AWS Identity and Access Management (IAM) is the service that decides who can do what on which resources, which is why it comes before anything you build.
This module starts with the core vocabulary of users, groups, roles, and policies, then shows how roles let services such as EC2 reach other AWS resources without long-lived credentials. You will then learn how policies are written and why least privilege is the rule to design around, and finish by locking accounts down with multi-factor authentication.
Watch the lessons in order, then continue on to Compute: EC2 & Scaling.
A beginner-friendly breakdown of the difference between IAM users, groups, roles, and policies, the four building blocks every AWS permission is made from.
Shows what IAM roles and policies are and how to create them so an EC2 instance can access other AWS services without hardcoded credentials.
Walks through creating an IAM policy while following the principle of least privilege, so identities get only the permissions they actually need.
Covers setting up password policies and multi-factor authentication in IAM, the first line of defence for both your root user and everyday users.