AWS IAM: Users, Groups, Roles & Policies
Beginner · 40 minutes · 100 points
In this foundational lab, you will explore AWS Identity and Access Management (IAM) using the AWS CLI with floci — a local AWS emulator that runs inside your lab container. You will create IAM users, organize them into groups, attach managed and inline policies, and create roles with trust relationships. By the end of this lab, you will understand the core building blocks of AWS access control without needing a real AWS account.
What you’ll learn
- Create and manage IAM users using the AWS CLI pointed at a local AWS emulator (floci)
- Create IAM groups, attach policies, and add users to groups
- Create IAM roles with trust policies and attach permission policies to them
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 3 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 runs each task’s checks in your container and says 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: A container on your computer, with a real terminal
- Image: floci/floci:2.5.0-compat
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: aws, iam, users, groups, roles, policies, floci, security, access-control
Create a free account to start this lab.