Skip to content
Discussion options

You must be logged in to vote

That's not a role, it's an InstanceProfile.

EC2 instances can have a "profile", which describes the set of roles that are used by that instance (as an instance can be made up of the permissions of several roles, into one meta-role). This is the mechanism by which roles are passed to the EC2 instance overall.

It's outlined in the ClouddFormation docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-iaminstanceprofile

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by indrora
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants