Introduction to IAM (Identity access manager) in AWS

Rashmi Bhardwaj | Blog,BUZZ,Cloud & Virtualization
Google ADs

IAM (Identity access manager) in AWS

IAM (Identity access manager) in AWS:

IAM stands for Identity Access Manager. It is a feature in AWS console which allows you to manage AWS users and their access to AWS accounts and services.

The common use of IAM is to manage: –

  • Users
  • Groups
  • IAM Access Policies
  • Roles

When you the create account in AWS the user is called as ‘Root’ user and by default the root user has FULL administrative rights and access to every part of the account.

Google ADs

Any new user created in AWS account can just login and by default no access to any AWS services. New user must be granted permissions to access the requested part of AWS services.IAM in AWS 1

IAM Configuration

Let’s see the IAM initial configuration and recommend setting by which we can set up a high level of security, accessibility, and Efficiency. When we create a new root account in AWS, we must be completing the tasks which are listed under security Status.

There are 4 Task’s which need to be completed: –

  • Activate MFA (Multifactor Authentication) on your Root Account 
  • Create Individual IAM users
  • User groups to assign permissions
  • Apply an IAM password policy

  

  1. Activate MFA (Multifactor Authentication) on your Root Account:  MFA is an additional layer of security on your account provided by a third party. It could be RSA token (Physical), PingID/ Google authentication (virtual), etc., which takes the form of continuously-changing, random six-digit code that you will need to input along with your password when logging into your root account.IAM in AWS 2

Under Activate MFA on your root account, Click on Manage MFA –

IAM in AWS 3

Since we are setting up Virtual type of MFA, click on A virtual MFA device and then click Next Step

IAM in AWS 4

You must be having a virtual MFA application installed on your PC/ Smartphone or other devices. Let’s say you have downloaded Google Authentication on your PC/Laptop or other devices. Then click Next Step.

IAM in AWS 5

Scan the QR code, you will get two successive authentication code on your phone. Enter the code and wait for 10 more sec to get 2nd code, enter the 2nd code and then finish.IAM in AWS 6

Your MFA authentication has been set on root account.

 

 

2 – Create Individual IAM users: – AWS highly recommended not to use your ROOT account for day to day use, you should be creating a new IAM user and attach the Admin access policy on it.IAM in AWS 7

Click on create Individual IAM users.IAM in AWS 8

Click on create  new users.

IAM in AWS 9

Enter Name:- Lets say Tom and then click next

IAM in AWS 10

Click Next stepIAM in AWS 11

Here the user has been created and now we have to assign the administrative policy to it.  Click on the user.IAM in AWS 12

Click on Permissions

IAM in AWS 13

Click next, Policy will be attached with user.IAM in AWS 14

Now the user is having full access to AWS services. IAM in AWS 15

Setup a password for this new account.

IAM in AWS 16

Click on manage password.IAM in AWS 17

Type the password and your password will be set.IAM in AWS 18

3- User groups to assign permissions: – It would always good to assign permissions to groups rather than managing each user individually.IAM in AWS 19

Click on User groups to assign permissions.IAM in AWS 20

Click on Manage groups.IAM in AWS 21

Click on create new group.IAM in AWS 22

Click Next step, Admin group has been created and now need to assign adminstrative polices to it.IAM in AWS 23

Click Next Step and then create group.IAM in AWS 24

New Group has been created with name Admin, you can add users in this group.IAM in AWS 25

Task has been completed successfully, Group has been created.

 

4- Apply an IAM password policy: – A password policy dictates the format and explanation rules that must be followed by a user when setting a password.  You may have seen many time’s that while setting the password and they say like it’s too short and it needs to be eight or six characters or passwords doesn’t meet its complexity etc. This is what we are doing, we are creating rules that need to follow when the user creates passwords for themselves. IAM in AWS 26

Click on manage password policy.IAM in AWS 27

All the options we have are to strengthen your passwords.You can choose any options as per your password policy or level of security you wanted. Select the option as per your requirement and then click Apply Password Policy.IAM in AWS 28

Related – AWS Storage Classes in S3

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart