- Lab
- A Cloud Guru
Troubleshooting and Resolving AWS IAM Errors
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 setting up her database administrators with the proper access permissions for the startup's AWS account. In order to provide access and ensure the proper security measures are in place, you will use AWS Identity & Access Management (IAM) and attach the necessary AWS-managed policy that allows full access to Amazon Relational Database Service (RDS).
Path Info
Table of Contents
-
Challenge
Review Existing Policy Permissions for DBAGroup as an Administrator
- Log in to the AWS Management Console using
cloud_user
credentials. - Navigate to IAM.
- In IAM Resources section, click User groups: 1.
- Click DBAGroup.
- Click the Permissions tab and click StudentRDSPolicy.
- Click Cancel to exit.
- Sign out as the
cloud_user
by clicking your account name on the top-right navigation bar and click Sign Out.
- Log in to the AWS Management Console using
-
Challenge
Access a Relational Database Instance as a DBA
- Click Log back in.
- Log in as
dba-1
. (NOTE: The credentials are located under the Additional Resources section) - Navigate to Amazon Relational Database Service (RDS).
- Click Create database.
- Note the access denied message. We need to modify
DBAGroup
permissions as an administrator to grant DBA access. - Sign out by clicking your account name on the top navigation bar and clicking Sign Out.
-
Challenge
Modify Permissions on the DBAGroup as an Administrator
- Click Log back in.
- Log in with the
cloud_user
credentials. - Navigate to IAM.
- In IAM Resources section, click User groups: 1.
- Click DBAGroup.
- Click the Permissions tab.
- Click Add permissions to access the dropdown menu and click Attach Policies.
- In Other permission policies field, search for "rds".
- Select AmazonRDSFullAccess.
- Click Add permissions.
- Log out as the
cloud_user
by clicking your account name on the top-right navigation bar and clicking Sign Out.
-
Challenge
Verify Relational Database Access as a DBA
- Click Log back in.
- Log back in as
dba-1
. - Navigate to Amazon Relational Database Service (RDS).
- Click Create database. (NOTE: The error message is gone.)
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.