Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 7, Winter 1, Spring 1, Spring 2, Spring 3
Description
Enable AWS Admin to achieve the following functionality for users in a specific group:
Users added to the group should have permissions to perform the following actions only for EC2 instances with a specific tag:
- Modify EC2 instance state (Start, Stop, and Restart)
- Modify Security Groups associated with those instances
Attachments
Issue Links
- is cloned by
-
IGBF-4031 Investigate how to prevent AWS overspending in a developer personal account
-
- Closed
-
Activity
Assuming user group has already been setup in IAM (Identity and Access Management)
Create a policy and attach the policy to a user group.
The attached JSON can be used to set policy where users can only read EC2 instances and start/stop instances that have a specific tag, such as Environment=Dev.
After applying this policy, users will only be able to start/stop/reboot instances that have the tag Environment=Dev.
Note: Please ensure that the EC2 instances have the correct tags added to them.
Thanks Pranav Bhatia!