amazon web services - Reduce limit for ec2 instance in other region to zero -


by default limit of ec2 instance in region 30, want make zero, regions don't want deploy time.

when worked on console, don't see way make limit zero, there option increase our limit. wasn't able use google too.

how reduce limit of ec2 instance in region zero.

you can't limit max ec2 instances region in way describe, setup policy particular iam user restricted regions allowed created instances in - wouldn't limit number can create, can prevent ec2 instances being created @ except in regions allow.

http://docs.aws.amazon.com/awsec2/latest/userguide/iam-policies-for-amazon-ec2.html

for example:

{   "statement":[{     "effect":"allow",     "action":"runinstances",     "resource":"*",     "condition":{       "condition":{         "ec2:region":"us-east-1"         }       }     }   ] } 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -