cancel
Showing results for 
Search instead for 
Did you mean: 

IAM Role instead of root? -> Didn't work for me. I used Group instead.

CBasis
Participant
0 Kudos

Hi,

maybe anyone else tried to use an other user than root, following this FAQ-entry:

>> Is is possible to use an IAM role instead of the root AWS account?

>> Yes, this is possible. Please ensure that the IAM role has the following permissions configured: AmazonEC2FullAccess, AmazonVPCFullAccess,

>> ReadOnlyAccess and AWSAccountUsageReportAccess. You can then use the access and secret key of the IAM role in CAL.

It didn't work for me.

  • First i tried to attach the permissions directly to an additionaly created user   SAP_CAL.
    The system complained about too many permissions attached to the user when i tried to attach the last one.
  • I created the Role and attached successfully all the permissions.
    But i wasn't able to attach the role to the user.     
    (.. and i have no idea if there is a way to do so.     I thought that the role might be attached to a group and authorize the users within the group)
  • At the end i created a group with all the mentioned permissions and included the user SAP_CAL to this group.
  • Finaly i entered the keys from the user SAP_CAL in the CAL and now it works fine.

Is any AWS-expert here to comment this?  
(Maybe i was only going the wrong way?)

Best regards

Christian

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196674
Active Participant
0 Kudos

Hi Christian,

the usual way to get into CAL is to go to AWS console, to sign into IAM service.

Then create user, set its permission (roles, if it is subscribed for this AWS services - EC2 for example) from tab "Permissions". Then go to create your credentials for CAL (tab "Security credentials" > Manage access keys / Create access key for this user.

Finally you got Access Key ID and Secret Access Key

You can use them while creating CAL account.

Thanks,

Aleksandar