- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Secure a Workflow with AWS IAM Policies
The ability to secure your pipelines is a core part of ensuring your serverless applications do not expose more attack surface than they need – or cause potential issues internally when being run. In this lab, you will be tasked with auditing two existing Lambda functions and their IAM roles, ensuring each function has a separate role that leverages the principle of least privilege, ensuring access is granted not only to the services they need – but the specific objects within those services.
Lab Info
Table of Contents
-
Challenge
Audit access for existing IAM roles to lock down scope
Review existing IAM roles and permissions, looking for areas of weakness and places in which the role can be locked down, ensuring it only provides access to the needed resources and necessary functions.
-
Challenge
Explore creating a new IAM role with restricted access and assign to an existing function
Discover areas in which an IAM role can—and should—be broken down into a separate role, scoping the new role with limited action and access only to the desired resources.
-
Challenge
Test the pipeline by uploading a video, ensuring it works with the new permission set
Verify your changes by confirming that the updated permissions do not break the pipeline by uploading the provided mp4 file and checking the logs and storage buckets for the expected actions.
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.