What is a data perimeter in AWS, and how do resource control policies help build it?
AdvancedProductionCloud Security Posture
Answer
A data perimeter ensures that only trusted identities access trusted resources from expected networks. Three building blocks:
- Identity perimeter: resources accept only principals from our organisation (
aws:PrincipalOrgID). - Resource perimeter: our identities can only access resources in our organisation (
aws:ResourceOrgID), stopping exfiltration to an attacker's bucket. - Network perimeter: access only from our VPCs or IP ranges (
aws:SourceVpc,aws:SourceIp), with exceptions for AWS services acting on our behalf.
SCPs restrict what our principals can do. RCPs (introduced late 2024) restrict what can be done to our resources, regardless of who calls, for supported services such as S3, KMS, STS, SQS and Secrets Manager. With an RCP denying access from outside the org, one bad bucket policy no longer exposes data.
More on Cloud Security Posture
Sketch how AWS security services fit together in a multi-account organisation.BeginnerWhich security services do you enable in every AWS account by default?BeginnerNative tools (Security Hub, Prowler) or a commercial CNAPP: how do you choose?IntermediateHow do you design network security for production workloads in a VPC?IntermediateHow do you structure KMS keys for production?IntermediateWhat is your S3 security baseline?Beginner