Creating a IAM Role on AWS

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

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.

--

--

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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akhilesh Jain

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