dimanche 23 août 2015

Amazon IAM User Policy To Limit Launch Instances

I am trying to create a user policy to limit launching instances to be on specific region and for t1.micro types, I tried several solutions but none work so far.

Even this one does not allow describing instance status, I create use this policy to launch the instance but I cannot use the API to describe its status, not sure what is wrong. Any help is appreciated.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "..",
            "Effect": "Allow",
            "Action": [
                "ec2:*"
            ],
            "Resource": [
                "arn:aws:ec2:us-west-2:*:*"
            ]
        }
    ]
}




Aucun commentaire:

Enregistrer un commentaire