DEV Community

Cover image for Day 19.Attach IAM Policy to IAM User
Thu Kha Kyawe
Thu Kha Kyawe

Posted on

Day 19.Attach IAM Policy to IAM User

Lab Information

The Nautilus DevOps team has been creating a couple of services on AWS cloud. They have been breaking down the migration into smaller tasks, allowing for better control, risk mitigation, and optimization of resources throughout the migration process. Recently they came up with requirements mentioned below.

An IAM user named iamuser_john and a policy named iampolicy_john already exist. Attach the IAM policy iampolicy_john to the IAM user iamuser_john.

Lab Solutions

Step-by-Step Instructions (AWS Console)

  1. Log in to AWS Console

Use your lab credentials.

  1. Open IAM Service

In the AWS search bar → type IAM

Click IAM

  1. Locate the IAM User

In the left navigation pane → click Users

Click on the user iamuser_john

  1. Attach the Policy

Open the Permissions tab

Click Add permissions

Click Add permissions

Select Attach policies directly

In the policy list, search for:

iampolicy_john

Check the box next to iampolicy_john

Click Next

Click Add permissions


Resources & Next Steps
📦 Full Code Repository: KodeKloud Learning Labs
📖 More Deep Dives: Whispering Cloud Insights - Read other technical articles
💬 Join Discussion: DEV Community - Share your thoughts and questions
💼 Let's Connect: LinkedIn - I'd love to connect with you

Credits
• All labs are from: KodeKloud
• I sincerely appreciate your provision of these valuable resources.

Top comments (0)