05-16-2017 07:47 AM
On AWS, here's a quick tip on getting the right IAM policies for Cloudera Director to take advantage of provisioning EC2 spot instance. With the spot instance pricing, you only pay for a fraction (~80%) of the comparable on-demand price. Applicable to many use cases!
Add the following policies to the Director IAM role:
"ec2:RequestSpotInstances", "ec2:DescribeSpotInstanceRequests", "ec2:RequestSpotInstances"
The Documentation suggested IAM policy is provided here: https://www.cloudera.com/documentation/director/latest/topics/director_iam_methods.html