Closed tzach closed 5 years ago
I think this is deon via http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.html
and I agree lets limit the AMI to c3.X and i2.X for the time being
I tried IAM policy to limit instance type, but it seems not for our purpose. I guess this is for limiting start/stop instances from EC2 instances via 'aws' command (or the API), not for limiting instance type on instance creation wizard. Why DS AMI seems able to limit instance is, because it's 'Instance Store-Backed AMI'. On the AMI, root disk is ephemeral, not able to stop & restart. You can terminate instance, but not able to recover. Since m4/c4 (and some other instance types) are EBS only, you are not able to run such AMI on the type.
So we also can make our AMI as Instance Store-Backed to limiting instance type, but user cannot keep their root disk beyond shutdown. And we already discuss that, and I think the answer was use EBS-Backed AMI.
Note that we can make two AMIs: one for developing - EBS Backed, other one for users - Instance Store-Backed.
Comments?
Since #10 was fixed, should we do this at all?
Closing. Scylla support all instances, either as "optimzed" or "run scylla_setup"
As an alternative to #10 we can limit the instance AMI can run on, similar to what DS AMI