IAM role


Assuming an IAM role using the Instance MetaData Service

In AWS, one often needs to access certain resources, like S3 or SQS, from an EC2 instance. There are several methods to get the credentials to access those resources one of which is the Instance MetaData Service.