Creating a IAM Role on AWS

Akhilesh Jain
2 min readFeb 13, 2021

--

In this blog, we will be creating a IAM Role, through which we can deploy/create resources on AWS using AWS CLI or any Automation Tool like Terraform, Ansible and many more.

So, For this we just need an AWS Account, and login with your account.

AWS Management Console

Then goto Services and then you will be observing Iam subservice in Security, Identity and Compliance.

Services

Then create a new Iam user in this and give this user Administrator Access.

IAM Page

Then click on Users in Iam Resources and create a new user and give any name to this user and in access type -give programatic access to use this user in Cli, Sdk and on may more platforms.

Create User by clicking on Add User

  • Give administrator access to this user
  • Create the user and copy this access key and security access key as it will be shown only once.
See Access key and security access key

As we can see that, our IAM User is created, and hence we can login into our CLI.

aws configure

Thanks for reading this blog.

--

--

Akhilesh Jain
Akhilesh Jain

Written by Akhilesh Jain

I am a student and persuing under graduation in computer science and engineering.

No responses yet