How to create user and assign permission on AWS IAM

How to create user and assign permission on AWS IAM

1) Login to AWS management console

2) Search IAM in AWS services

3) in IAM click on users

4) click on ADD user

5) Type username that you want to create

6) select access type Programmatic access or AWS Management Console access or select both
   a) Programmatic access: Select this if user need to access AWS through CLI or through Application
   b) AWS Management Console access : Select this if user need to login through console

Note: Select only required access, if user will be used only to run scripts then do not give console access and if user will login only through console then do not give programmatic access

7) Select autogenerated password or custom password
 Autogenerated password: AWS will generate random password
 custom password: You need to specify password

8) Select require password reset if you want user to reset password at next sing in

9) Click next

10) Add user to existing group if group already exist with required permissions, 
Or
Copy permission of existing user if user will similar permissions exist
Or
attach policy, select policy as per required access

Note: provide role based access by selecting existing aws managed policy or your custom policy
e.g To provide only EC2 administration access select policy "AmazonEC2FullAccess"

Click next

11) Add Tags

12) Click review and then create user

Comments