AWS › AWS Organizations & Multi Account Strategy
What are Service Control Policies, and how do they enforce security and compliance guardrails across an entire organization?
IntermediateAnswer
Service Control Policies, or SCPs, define the maximum available permissions for accounts within an organization or organizational unit, meaning even if an individual account's IAM policies would otherwise allow an action, an SCP can explicitly deny that action organization wide, providing a powerful centralized guardrail mechanism, such as preventing any account from disabling CloudTrail logging or launching resources outside of approved regions, regardless of what permissions individual account administrators might otherwise grant.
aws organizations create-policy --content file://deny-region-policy.json --type SERVICE_CONTROL_POLICY --name RestrictRegionsReal-world example A company applies a Service Control Policy across its entire organization that prevents any account from launching resources outside of two approved regions, ensuring compliance with data residency requirements even if an individual account administrator mistakenly tries to deploy elsewhere.