2

In chrome browser, logged into AWS account with user name(Administrator) part of Administrators group.

Created an IAM user (Bob) with Custom managed policy(Demo1) as shown below:

enter image description here

In firefox, tried to login with user Bob, below is the error:

enter image description here

Bob is part of no group.

enter image description here

With or without policy(Demo1) attachment to user Bob, user Bob could not login...

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "ec2:*",
            "Resource": "*"
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Deny",
            "Action": "ec2:RunInstances",
            "Resource": "*",
            "Condition": {
                "ForAllValues:StringNotEquals": {
                    "ec2:InstanceType": "t1.*,t2.*,m3.*"
                }
            }
        }
    ]
}

Why user Bob cannot login?

overexchange
  • 15,768
  • 30
  • 152
  • 347

2 Answers2

2

Users do not require any permissions to login to the AWS Management Console. (However, they won't be able to see/do anything to the services themselves.)

Therefore, if you are unable to login to the console, you either have the wrong login information (Account, Username, Password) or the user does not have a Console Password enabled.

Take a look in the IAM User Security credentials tab to obtain the right console sign-in link and to verify that a password has been enabled.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
0

It is strange that I was not able to login into AWS management console using IAM user information. I went to the root account and copied the console sign-in link for the IAM user, then entered my credentials. It started working.

kmnowak
  • 804
  • 1
  • 8
  • 23