How to create an AWS Account

Today, 27th January 2023, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putin’s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

How to create AWS account

If you don't have an AWS account you need to create it here. It is pretty easy. After this, you will be able to login to your account and make any things there in UI console, but if you are going to interact with AWS via CLI or any other framework which requires storing credentials or deliver them to CI, you should create a dedicated user for programmatic access. Then if someone would steal your stored credentials somehow you will be able to revoke this user and keep your account.

So let's create a new user with programmatic access in IAM:

Press Add user button to create new user

I will call him batcher (you should use any name which would reflect what is the user is used for)

Setting up user name and selecting access type

On the next screen create a new group FulAccess with AdministratorAccess policy.

Create group with full access

Now add a user to created group. So it should look like this:

Image for a hint

πŸ›‘ Security Note: in most cases you don't need to give AdministratorAccess to your API users, and should limit it only to necessarily policies. In this example we do it only to simplify flow and reduce number of potential issues when readers will do their experiments related to study. If it is your developemnt account it is fine to do this

Press Next, Next, Create User.

Now press download CSV file with all credentials and save it in a reliable place.

Image for a hint

This file will give you ACCESS KEY ID and SECRET ACCESS KEY which is enough to provide access to any CLI/API/Framework.

πŸ›‘ Remember, this pair is very sensitive:

Ivan Borshchov profile picture
Sep 09, 2021
by Ivan Borshchov
Did it help you?
Yes !

Best related