Interview Prep/AWS/IAM, Organizations and Multi-Account

You need to guarantee no resources are ever created outside eu-west-1 and eu-central-1 across the org. What is the design and the pitfalls?

AdvancedScenarioIAM, Organizations and Multi-Account
Answer

Situation read → Region restriction is an SCP job, but global services make a naive deny break things.

What I'd do →

  1. Write an SCP with Deny and NotAction listing global services (IAM, Organizations, Route 53, CloudFront, Support, STS)
  2. Condition StringNotEquals on aws:RequestedRegion for the two allowed regions
  3. Add exception for control-plane roles such as the Control Tower execution role via ArnNotLike on aws:PrincipalARN
  4. Apply to a test OU first and watch CloudTrail for denied calls

Why → Using Action: * without carving out global endpoints in us-east-1 breaks IAM, billing and CloudFront calls.

Interview tip → Mention opt-in regions and that the CloudFront and ACM-for-CloudFront certificate must live in us-east-1.

aws All AWS questions Roadmap: AWS core services

More on IAM, Organizations and Multi-Account