Featured resource
Tech Upskilling Playbook 2025
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Learn more
  • Labs icon Lab
  • Cloud
  • Security
Google Cloud Platform icon
Labs

Limiting Privileged User Access by Setting Permissions Boundaries in AWS IAM

In this hands-on lab scenario, you are a security engineer working for a new startup that's launching an online bookstore for rare and antique books. The founder, Kia, needs your help with setting up her system administrators with the proper access permissions. In order to provide access and ensure the proper security measures are in place, you will use AWS Identity & Access Management (IAM) to define a system administrators group and set permissions boundaries.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Last updated
Clock icon Sep 04, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Group Controlled via an AWS-Managed Policy and Assign Users to a Group

    1. Navigate to IAM.
    2. From the left dashboard menu, click Users to view existing users.
    3. Click User groups.
    4. Click Create group.
    5. For the User group name, enter "SysAdmins".
    6. In the Add users to the group - Optional section, select the following User name:
      • sysadmin-1
      • sysadmin-2
      • sysadmin-3
    7. In the Attach permissions policies - Optional section, select the AdministratorAccess policy.
    8. Click Create group.
    9. Review the group, and then click Create Group.
  2. Challenge

    Limit Privileged Users by Setting Permissions Boundaries

    1. Click SysAdmins under Group name.
    2. Click sysadmin-2.
    3. Click the arrow next to Permissions boundary (not set) to expand it.
    4. Click Set boundary.
    5. In the Filter policies field, type "ec2".
    6. Select AmazonEC2FullAccess.
    7. Click Set boundary.
    8. From the left dashboard, click Users.
    9. Click sysadmin-3.
    10. In the Filter policies field, type "s3".
    11. Select AmazonS3FullAccess.
    12. Click Set boundary.
  3. Challenge

    Verifying Limits on Privileged Users

    Verifying S3 Limited Access on sysadmin-3

    1. In the top right-hand corner, select the arrow for the dropdown menu next to your user name.
    2. Click Sign Out to log out as clouid_user.
    3. Click Log back in.
    4. The IAM user name is sysadmin-3 with a password of h3F#dJHk323k6D.
    5. Click Sign In.
    6. Navigate to EC2.
    7. Click Instances (running). (NOTE: You should encounter a "not authorized to perform this operation" message.)
    8. Click Launch Instances.
    9. Click Select on Amazon Linux 2 AMI (HVM), SSD Volume Type. (NOTE: You should encounter a "not authorized to perform this operation" message.)
    10. Navigate back to the AWS Management Console.
    11. Click S3.
    12. Click Create bucket.
    13. Under General configuration, enter "acg-test-123456" for the Bucket name.
    14. Select US East (N. Virgina) us-east-1 for the AWS Region.
    15. Click Create bucket.
    16. In the top right-hand corner, select the arrow for the dropdown menu next to your user name.
    17. Click Sign Out to log out as sysadmin-3.

    Verifying EC2 Limited Access on sysadmin-2

    1. Click Log back in.
    2. The IAM user name is sysadmin-2 with a password of h3F#dJHk323k6D.
    3. Click Sign In.
    4. Navigate to S3. (NOTE: You should encounter an access denied message.)

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.