In my previous articles, I have explained how to create an IAM User “AWS : Identity and Access Management (IAM) – Add User“, how to access AWS resources from AWS CLI “AWS CLI : AWS Configuration and Connect to EC2 Instance” and also explained how to access AWS resources using Python program “AWS : Connect to EC2 Instance (Virtual Machine) – Python“. In this article, I am going to explain; how to log in to AWS Management Console using IAM User.
We will take the IAM User what we have created in our previous Article “AWS – UnauthorizedOperation – How to fix “You are not authorized to perform this operation.” Error?” as an example.
Step 1. Login into AWS Management Console using root account credentials.
Step 2. Click on Services and then select IAM; which is under the “Security, Identity & Compliance” group. AWS Management Console will display IAM Dashboard; listing IAM Resources.
Step 3. Click on Users, to show the list of Users available.
Step 4. From the users’ list, select the User to whom you want to give them access to login into AWS Management Console.
Once the user is selected, IAM will show the selected User details as a Summary. Select the “Security Credentials” tab to manage the user’s security settings.
Step 5. Under “Sign-in credentials“, notice that Console Password is Disabled.
Click on Manage Password. AWS Management Console will display the “Management console access” window.
Step 6. Enable console access by selecting Enable option which is displaying next to “Console access”. This enables the user to access AWS Management Console.
Select “Custom password“, from the “Set password” group. And enter the password in the related Text box.
Click on Apply to apply the changes. Now we set the user to access AWS Management Console. Lets’ try to access AWS Management Console.
Step 7. In the “Security credentials”, note that; there is a link generated to access the AWS Management Console. Copy the link and open it in the New Browser.
Step 8. You will see a log-in screen, to enter the User credentials to login into AWS Management Console.
Observe that, “Account ID or alias” is automatically populated. This is your AWS Account ID.
Enter the “IAM user name” & “Password” and click on “Sign in” button. Now you will be able to log in to AWS Management Console.