Give five SCPs you would put on almost every production OU.
IntermediateProductionMulti-Account and Landing Zone
Answer
- Deny
organizations:LeaveOrganization. - Deny disabling CloudTrail, Config, GuardDuty, Security Hub and Access Analyzer.
- Deny actions outside approved regions using
aws:RequestedRegion(withNotActionexemptions for global services like IAM, Organizations, Route 53, CloudFront, Support). - Deny root user actions: condition
aws:PrincipalArnlikearn:aws:iam::*:root. - Deny creating IAM users and access keys (
iam:CreateUser,iam:CreateAccessKey) except for an exempt role.
Optional extras: deny unencrypted EBS (ec2:Encrypted false), deny ec2:RunInstances without IMDSv2 (ec2:MetadataHttpTokens not required).
More on Multi-Account and Landing Zone
Why do production teams use many AWS accounts instead of one big account?BeginnerWhat does a typical OU structure look like for a mid-size company?IntermediateWhat should and should not live in the management account?BeginnerWhat does Control Tower give you that plain Organizations does not?IntermediateHow do you vend new accounts in a repeatable way?IntermediateHow do you design SCPs so they protect without blocking the platform team?Advanced