Amazon EC2 instances multiple IAM roles
This is a comment by krishna_mee2004, but it should be an answer:
You can attach only one role to ec2 instance. Refer this amazon document: IAM Roles for Amazon EC2. Instead:
- create 2 managed policies
- attach them to the same IAM Role.
- Attach that IAM Role to the EC2 instance.