Create Users and Manage Permissions Using Groups and Policies in AWS IAM for Cloud and DevOps Engineers

Create Users and Manage Permissions Using Groups and Policies in AWS IAM for Cloud and DevOps Engineers

Learning path for the AWS Cloud Practitioner exam

📝Introduction

In this blog post, we will cover a simple and intro hands-on lab, to provide access and ensure the proper security measures are in place, you will use AWS Identity and Access Management (IAM). You will group users and assign permissions for the developer group using policies.

📝Log in to the AWS Management Console

Using your credentials, make sure you're using the right Region. In my case, I chose us-east-1.

📝Create a Customer Managed Policy

Navigate to IAM > Users. In this case, I created some users early.

Click Policies in the left-hand menu. Click Create policy.

Click on Actions and select Import policy on the right side of the page.

Search for and select any policy, in this case, we choose AWSLambda_FullAccess.

Click Import policy. Next to EC2, click Remove. Click Next.

Name the policy <name_policy>. Click Create policy.

📝Create a Group Controlled via a Customer Managed Policy

Click User groups in the left-hand menu.

Click Create group, and set the following values:

User group name: developers.

Attach permissions policies: Select <name_policy>.

Click Create group.

📝Assign Users to the Group

Click the developers group.

Under the Users tab, click Add users.

Select any other user that you created previously. Here, I selected 4 existing users.

Click Add users.

Congratulations — you've completed this hands-on lab covering the Creating of Users and Manage Permissions Using Groups and Policies in AWS IAM.

Thank you for reading. I hope you were able to understand and learn something helpful from my blog.

Please follow me on Hashnode and on LinkedIn franciscojblsouza