LoginSignup
0
0

More than 5 years have passed since last update.

ある特定のEC2インスタンスをマネジメントコンソールから起動・停止だけさせたい場合に設定するポリシー

Last updated at Posted at 2016-06-17

ポリシー

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ec2:DescribeInstances"
            ],
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "ec2:StartInstances",
                "ec2:StopInstances"
            ],
            "Resource": [
                "arn:aws:ec2:[region]:[account_number]:instance/[instance_id]"
            ]
        }
    ]
}

ちょっと気になる点

  • 関係ないインスタンス一覧が見られてしまう
  • 上記に関連してアラームのステータスがずっとロード中...
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0