Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Tips: IAM role for launching AWS spot instance

Highlighted

Tips: IAM role for launching AWS spot instance

New Contributor

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