Thursday, September 25, 2014

Amazon AWS Cloud: Create Security Policy for IAM user to Start/Stop only specific instance

{
   "Version": "2012-10-17",
   "Statement": [
   {
   "Effect": "Allow",
      "Action": "ec2:DescribeInstance*",
      "Resource": "*"
   },
   {
      "Effect": "Allow",
      "Action": [
        "ec2:StopInstances", 
        "ec2:StartInstances"
      ],
      "Resource": [
      "arn:aws:ec2:us-west-1:account_ID:instance/i-c58ff64a"
      ]
    }
   ]
}

1 comment: