A company uses AWS Organizations to manage its AWS accounts. The organization root has a child OU that is named Department. The Department OU has a child OU that is named Engineering. The default FullAWSAccess policy is attached to the root, the Department OU. and the Engineering OU.
The company has many AWS accounts in the Engineering OU. Each account has an administrative 1AM role with the AdmmistratorAccess 1AM policy attached. The default FullAWSAccessPolicy is also attached to each account.
A DevOps engineer plans to remove the FullAWSAccess policy from the Department OU The DevOps engineer will replace the policy with a policy that contains an Allow statement for all Amazon EC2 API operations.
What will happen to the permissions of the administrative 1AM roles as a result of this change'?
* Impact of Removing FullAWSAccess and Adding Policy for EC2 Actions:
The FullAWSAccess policy allows all actions on all resources by default. Removing this policy from the Department OU will limit the permissions that accounts within this OU inherit from the parent OU.
Adding a policy that allows only Amazon EC2 API operations will restrict the permissions to EC2 actions only.
* Permissions of Administrative IAM Roles:
The administrative IAM roles in the Engineering OU have the AdministratorAccess policy attached, which grants full access to all AWS services and resources.
Since SCPs are restrictions that apply at the organizational level, removing FullAWSAccess and replacing it with a policy allowing only EC2 actions means that for all accounts in the Engineering OU:
They will have full access to EC2 actions due to the new SCP.
They will be restricted in other actions that are not covered by the SCP, hence, non-EC2 API actions will be denied.
* Conclusion:
All API actions on EC2 resources will be allowed.
All other API actions will be denied due to the absence of a broader allow policy.
Reynalda
12 days agoAliza
16 days agoLera
17 days agoAliza
20 days agoUlysses
22 days agoJamika
24 days agoCiara
1 months agoLamar
1 months agoAnglea
8 days agoRonnie
25 days ago