Assigning an IAM role to the EC2 instance