- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Configure Least-Privilege Access using AWS IAM Users and Groups
Granting access requires strong security and audit controls. This course will teach you how to provision limited S3 access using IAM groups, enforce secure sign-in practices and validate permissions.
Lab Info
Table of Contents
-
Challenge
Copy the ARN of the S3 Bucket
Locate the pre-created S3 bucket and copy its ARN.
-
Challenge
Create an IAM Group and Attach an Inline Policy
Create an IAM group named
contractorsCreate and attach an Inline Policy to the group, using the JSON code provided in the Additional Information & Resources section.
Verify that the policy does not grant broader access to other S3 actions or other buckets in the account
-
Challenge
Create an IAM User and Assign Membership
Create an IAM user, named
contractor, using the AWS Management Console access enabled.Configure the user to require a password reset on their first sign-in.
Add the user to the
contractorsIAM group so they inherit the group's inline policy permissions. -
Challenge
Verify User's S3 Bucket Access
Sign in to the AWS Console as the new contractor user.
Verify that you can list, read, and upload object to the target bucket.
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.