{"slug":"iam-aws-ec2","cloud":"aws","service":"ec2","title":"AWS EC2 (IAM)","description":"Amazon Elastic Compute Cloud (EC2) provides scalable virtual servers in the cloud for running applications.","category":"compute","common_permissions":["ec2:RunInstances","ec2:DescribeVpcs","ec2:CreateTags","ec2:DescribeTags","ec2:StopInstances","ec2:StartInstances","ec2:CreateKeyPair","ec2:DeleteKeyPair"],"least_privilege_example":"{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ec2:RunInstances\",\n        \"ec2:DescribeVpcs\",\n        \"ec2:CreateTags\",\n        \"ec2:DescribeTags\",\n        \"ec2:StopInstances\",\n        \"ec2:StartInstances\",\n        \"ec2:CreateKeyPair\",\n        \"ec2:DeleteKeyPair\"\n      ],\n      \"Resource\": \"*\"\n    }\n  ]\n}","warnings":["Avoid ec2:* — grants full control including termination of instances and deletion of resources.","Avoid ec2:RunInstances without resource constraints — can lead to unexpected costs."],"docs":"https://servicereference.us-east-1.amazonaws.com/v1/ec2/ec2.json","tags":["iam","aws"],"last_verified":"2026-06-14T00:00:00.000Z","next_check":"2026-12-11T00:00:00.000Z","created_at":"2026-06-14T04:48:32.466Z","updated_at":"2026-06-14T04:48:32.466Z"}