Interview Prep/AWS/Multi-Account and Landing Zone

Give five SCPs you would put on almost every production OU.

IntermediateProductionMulti-Account and Landing Zone
Answer
  1. Deny organizations:LeaveOrganization.
  2. Deny disabling CloudTrail, Config, GuardDuty, Security Hub and Access Analyzer.
  3. Deny actions outside approved regions using aws:RequestedRegion (with NotAction exemptions for global services like IAM, Organizations, Route 53, CloudFront, Support).
  4. Deny root user actions: condition aws:PrincipalArn like arn:aws:iam::*:root.
  5. 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).

aws All AWS questions

More on Multi-Account and Landing Zone