Troubleshooting and Resolving AWS IAM Errors

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

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).

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Review Existing Policy Permissions for DBAGroup as an Administrator
  1. Log in to the AWS Management console using cloud_user credentials.
  2. Navigate to IAM.
  3. In IAM Resources, click Groups.
  4. Select DBAGroup.
  5. From the menu, click Permissions and review the StudentRDSPolicy inline policy.
  6. Click Show Policy to review the permissions provided.
  7. Sign out by clicking your account name on the top navigation bar and clicking Sign Out.
Access a Relational Database Instance as a DBA
  1. Log in to the AWS Management console as dba-1 with 123456 as the password.
  2. Navigate to Amazon Relational Database Service (RDS).
  3. From the dashboard, click Create database.
  4. Note the error 403 access denied message. We need to modify DBAGroup permissions as an administrator to grant DBA access.
  5. Sign out by clicking your account name on the top navigation bar and clicking Sign Out.
Modify Permissions on the DBAGroup as an Administrator
  1. Log in to the AWS Management console using cloud_user credentials.
  2. Navigate to IAM.
  3. In IAM Resources, click Groups.
  4. Select DBAGroup.
  5. In Permissions, click Attach Policy.
  6. Select the AmazonRDSFullAccess checkbox and click Attach Policy.
  7. Sign out by clicking your account name on the top navigation bar and clicking Sign Out.
Verify Relational Database Access as a DBA
  1. Log in to the AWS Management console as dba-1 with 123456 as the password.
  2. Navigate to Amazon Relational Database Service (RDS).
  3. From the dashboard, click Create database.

The error message is now gone and the DBA now has the needed permissions to create a database.

Additional Resources

Please log in to the lab environment with the credentials provided. Make sure you are using us-east-1 region throughout the lab.

When you need to log in as an administrator, use the cloud_user credentials.

When you need to log in as a Database Administrator (DBA), use dba-1 for the username and k6!AY36^5h1 for the password.

What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!