Which SCPs would you put on a new AWS organisation from day one?
IntermediateScenarioMulti-env and multi-account
Answer
Situation read → SCPs are guardrails that even account admins can't override. Start with a short list that prevents expensive or irreversible mistakes.
What I'd do →
- Deny regions you don't use (with exceptions for global services like IAM, CloudFront, Route 53).
{
"Effect": "Deny",
"NotAction": ["iam:*", "organizations:*", "route53:*", "cloudfront:*", "sts:*", "support:*", "budgets:*"],
"Resource": "*",
"Condition": { "StringNotEquals": { "aws:RequestedRegion": ["ap-south-1", "eu-west-1"] } }
}
- Deny disabling or deleting CloudTrail, GuardDuty, Config and Security Hub.
- Deny leaving the organisation.
- Deny root user actions in member accounts.
- Deny turning off S3 Block Public Access and EBS default encryption.
- Test SCPs in a sandbox OU first; a bad SCP can lock everyone out of an account.
Why → These are the controls attackers and accidents target first.
Interview tip → Remember SCPs don't grant anything and don't apply to the management account.
More on Multi-env and multi-account
Design the AWS account structure for a 50-engineer startup that's growing fast.IntermediateHow do you promote the same build from dev to staging to prod?BeginnerBugs keep passing staging and appearing in production. How do you make staging closer to prod?IntermediateHow do you structure Terraform for dev, staging and prod? Workspaces, directories or Terragrunt?IntermediateDevelopers want a preview environment for every pull request. How would you build it?AdvancedHelm values files or Kustomize overlays for per-environment config?Beginner