- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security
Hardening IAM with Permission Boundaries
In this lab, you will take the role of an IAM administrator. You will learn how to enforce least-privilege user access in IAM with permission boundaries and tag-based conditions.
Lab Info
Table of Contents
-
Challenge
Create IAM Users and Groups with Permissions Limited by Permission Boundaries
- Create the DataTeamAlice user and grant that user a managed PowerUser Policy directly.
- Assign DataTeamAlice a permission boundary that limits access to S3 and confirm she can take S3 actions.
- Confirm DataTeamAlice cannot take other PowerUser actions by trying to create a DynamoDB Table.
- Place DataTeamAlice in an IAM group and repeat the process with that group.
-
Challenge
Create an IAM User with Tag-based Condition Restrictions
- Create the DeveloperBob IAM User with a managed PowerUser Policy and verify the user can add objects to an S3 bucket.
- Add a tag-based condition that prevents acting on buckets tagged with
"team": "data"to DeveloperBob. - Validate the same actions are now restricted for DeveloperBob.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.