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

  • 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.

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Gta Chinatown Free Download

4 Ways to Optimize your SQL Query

From zero to WIP

Backup and restore cockroach DB

IntelliJ IDEA tip: check regular expressions right in the IDE

10 reasons why learning Python is a good idea

On Object Oriented Programming and Finish Lines

CSS From Zero to Advanced Last Part: Design a website

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

Akhilesh Jain

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

More from Medium

AWS (Amazon Web Services)

Case Study: How I managed to restore an AWS root account against (literally) all odds

AWS Manager — Manage resources and services

The Amazon Cloudfront CDN within our AWS Manager