DevOps(Day-53) :IAM Roles Introduction and Creating IAM roles

 

  • Task: IAM Roles

    • Task Aim:- Create three Roles named: DevOps-User, Test-User and Admin
  • IAM Users:- IAM users are created to provide specific privileges to a user of an IT team to access the AWS server. IAM users can log in to the AWS Management Console for interactive tasks, as well as the ability to make programmatic requests using the API & CLI. IAM Users can be assigned permissions directly or be part of a group with specific permissions.

    An IAM user has a name and password that they use to log in to the AWS management console. Users can also create up to two access keys that they can use for programmatic access to AWS.

  • IAM Groups:- An IAM group is a collection of users that share access control policies. The group members have permission to perform specified actions on objects within the group’s scope. For example, if you grant read-only access to all of your EC2 instances, then any group member will be able to view information about those instances.

  • IAM Roles:- IAM roles are identities you can create with specific permissions for short durations. You can assign IAM roles to entities you trust so that those entities can assume the role when needed. IAM Roles are primarily meant for internal use.

    An IAM role has no associated credentials (password or access keys). The lack of credentials is one of the main differences between a User and a Role. A role can be temporarily assumed by a user, service, or application that has been granted permission to assume the role.

  1. Navigate to IAM console in AWS and go to roles.

  2. Select EC2 option in the page.

  3. Provide the specific permission as needed to the roles you are creating.

  4. Create a DevOps-User now.

  5. Then create a Test-User.

  6. Then create a Admin user.

  7. Now you can create a user and assign the roles to them.

Thanks for reading my article. Have a nice day.

Comments

Popular posts from this blog

DevOps (Day-1) Introduction

DevOps(Day-3) - File Management in Linux

DevOps(Day-2) Linux