Skip to main content
In this lesson you’ll learn how to create Organizational Units (OUs) and a Service Control Policy (SCP) in AWS Organizations, then attach the SCP to an OU so it enforces an organization-wide guardrail. SCP = Service Control Policy
OU = Organizational Unit
Why this matters:
  • AWS Organizations centralizes account management and governance.
  • OUs let you group accounts (for example: Development, Production, Security) so you can apply consistent controls.
  • SCPs set the maximum allowed actions for accounts—they act as organization-wide guardrails.

1) Navigate to AWS Organizations

  • Open the AWS Management Console and search for “Organizations”.
  • If you’ve used Organizations before you may land on the AWS Accounts page; if it’s your first time, open the initial panel and choose AWS Accounts.

2) Understand the organization hierarchy and create an OU

  • The top-level entity is the Root. Under the Root you can create OUs and place AWS accounts inside them.
  • OUs are containers that let you apply governance and security controls consistently across multiple accounts (for example: Development, Production, Security).
  • Select the Root and use the “Children” actions to create a new OU.
A screenshot of the AWS Organizations console on a browser showing the "Create organizational unit" form with "Development" entered as the organizational unit name. The page also shows a Tags section and navigation breadcrumbs at the top.
  • Provide a name for the OU (for example, Development) and create it.
  • After creation you will see the new OU nested under the Root in the organization hierarchy.

3) Create the Service Control Policy (SCP)

  • In the left navigation, open Policies and then select Service Control Policies (ensure SCPs are enabled for your organization).
  • Click Create policy.
  • Provide a name (for example: DenyS3Delete) and a description. Then paste the policy document below as the SCP JSON.
Example SCP JSON document:
Key notes about this SCP:
  • Effect "Deny" explicitly blocks the specified action.
  • s3:DeleteBucket is the Amazon S3 API action that removes a bucket.
  • Resource: "*" means this denial applies to all S3 buckets in the account(s) where the SCP is in effect.
  • This is an SCP, not an IAM policy: SCPs do not grant permissions. They set the maximum allowed actions. For an action to succeed, an IAM policy must grant the permission and no SCP (or other control) must deny it.
  • This SCP blocks bucket deletion (s3:DeleteBucket) but does not block object deletions such as s3:DeleteObject. Add those actions to the SCP if you want to prevent object deletions as well.

4) Attach the SCP to the OU

  • Navigate to the Development OU you created.
  • Scroll to the Policies section for that OU and choose Attach.
  • Select the DenyS3Delete policy (or whatever name you used) and attach it to the OU.
A screenshot of the AWS Organizations console showing the "Root" view with a "Children" panel listing organizational units like Development, Sandbox, and Security. The left navigation shows AWS accounts, Policies, and Settings.
  • After attaching the policy, the console confirms success and the SCP appears under Applied policies for that OU.
A screenshot of the AWS Organizations web console showing the "Applied policies" for the Development organizational unit, listing policies such as FullAWSAccess and DenyS3Delete. The UI shows policy sources (e.g., "Attached directly" or "Attached to Root") and Attach/Detach buttons.
  • Once attached, the SCP applies to all member accounts inside the Development OU and will block the s3:DeleteBucket action in those accounts.

Important behavior and clarifications

  • SCPs set the maximum permissions that can be granted to an account—they do not grant permissions themselves. To perform an action:
    1. An IAM policy in the account must grant the permission, and
    2. The SCP that applies to that account (from Root/OU/account) must not deny it.
  • SCPs must be attached to a Root, OU, or account. An SCP affects all accounts under the entity to which it is attached.
Be careful when attaching SCPs to the Root: an SCP applied at the Root affects every account in the organization — including the management account. Mistakenly restrictive SCPs can block administrative operations. Test SCPs in a sandbox OU or account before applying them broadly.
  • To target only specific accounts, attach the SCP to that OU or directly to individual accounts instead of the Root. Always review policy scope and attachment locations to avoid unintended permission loss.

Quick comparisons and references

References:
Quick takeaway:
  • AWS Organizations = centralized account management.
  • OU = group accounts for consistent policy application.
  • SCP = permission guardrail (sets maximum allowed actions).
  • IAM policy = grants permissions inside an account; both SCPs and IAM policies influence whether an action is permitted.
This concludes the demonstration: you created an OU, created an SCP that denies S3 bucket deletion, and attached that SCP to the OU so the restriction applies to member accounts.

Watch Video