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:
In firefox, tried to login with user Bob
, below is the error:
Bob
is part of no group.
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?
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.
In the IAM management console, go to the User and look in the Security credentials tab to obtain the right console sign-in link and to verify that a password has been enabled.