IAM Fundamentals: Create a User, Attach a Policy, and Inspect Permissions
Beginner · 30 minutes · 4 tasks, checked automatically · 100 points
In this foundational lab you will learn the core building blocks of AWS Identity and Access Management (IAM). You will create an IAM user, create a custom IAM policy that grants specific permissions, attach that policy to the user, and then verify the effective permissions. Understanding IAM is critical because every AWS action — whether performed by a human or a service — is authorized through IAM. All work is performed locally against a cloud emulator; no real AWS account or credentials are needed.
What you’ll learn
- Create an IAM user using the AWS CLI
- Create a custom IAM policy document and register it with IAM
- Attach the custom policy to the IAM user and verify the resulting permissions
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AWS
- Services: IAM
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A AWS sandbox created in the Local Cloud Playground
Topics: iam, security, users, policies, permissions, aws, identity
Create a free account to start this lab.