Skip to main content

Command Palette

Search for a command to run...

Day 19.Attach IAM Policy to IAM User

Updated
•2 min read
Day 19.Attach IAM Policy to IAM User
T

Cloud & SRE specializing in AWS and DevOps. I share my ongoing learning journey through practical tutorials and insights. Let's grow together.

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

Image description

Click Add permissions

Select Attach policies directly

In the policy list, search for:

iampolicy_john

Check the box next to iampolicy_john

Click Next

Image description

Click Add permissions

Image description


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.

More from this blog

W

Whispering Cloud Insights

88 posts

Documenting my path to cloud journey. Sharing lessons, tutorials, and insights from my continuous learning journey. Learn with me.