Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Choose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

3.3.1.8. Data Perimeters and External Access Validation (SCPs, RCPs, VPC Endpoint Policies, Access Analyzer, Verified Access)

3.3.1.8. Data Perimeters and External Access Validation (SCPs, RCPs, VPC Endpoint Policies, Access Analyzer, Verified Access)

💡 First Principle: A data perimeter is a set of coarse, always-on guardrails that let only trusted identities reach trusted resources from expected networks, so a single mistaken policy or stolen credential cannot move data outside the organization.

PerimeterQuestion it answersMain controlKey condition keys
IdentityCan only my organization's identities (and AWS services acting for me) access my resources?Resource control policies (RCPs), resource-based policies, VPC endpoint policiesaws:PrincipalOrgID, aws:PrincipalIsAWSService, aws:SourceOrgID (confused-deputy protection)
ResourceCan my identities access only my organization's resources?SCPs, VPC endpoint policiesaws:ResourceOrgID (with exceptions for AWS-owned resources that services need)
NetworkDo requests come only from my networks?RCPs or resource policies, SCPsaws:SourceVpc, aws:SourceVpce, aws:SourceIp, with aws:ViaAWSService exceptions

SCPs versus RCPs: both are organization policies that never grant anything, and both leave the management account alone. An SCP caps what your principals can do, wherever the resource is; it cannot touch a principal from another account. An RCP caps what any principal, including external accounts and the root user, can do to resources in your member accounts, regardless of what a developer writes in a bucket or queue policy. So "no one outside the org may read our buckets, even if a developer grants it" is an RCP, and "our people may not write to buckets outside the org" is an SCP (plus an endpoint policy for the network path). RCPs do not restrict service-linked roles or AWS managed KMS keys, and they apply only to supported services (among them S3, STS, KMS, SQS, Secrets Manager, DynamoDB, ECR, CloudWatch Logs and Cognito; Lambda is not currently on the list, so check the current list before relying on one). Test an RCP on a single account or OU before attaching it to the root.

Validating external access with IAM Access Analyzer:
  • External access findings (zone of trust = account or organization) report resources shared outside it, such as buckets, roles, KMS keys and queues. Internal access findings show which principals inside the organization can reach critical resources, and unused access findings show permissions nobody uses.
  • Custom policy checks (CheckNoPublicAccess, CheckAccessNotGranted, CheckNoNewAccess against an approved reference policy) run in a CI/CD stage and fail a deployment before a policy change grants public or new access. Findings after deployment are detective; pipeline checks are preventive.

AWS Verified Access (zero-trust application access): replaces VPN-based "on the network means trusted" access to internal applications. Every request is evaluated against Cedar policies using trust data from a user identity provider (IAM Identity Center or an OIDC provider) and optional device trust providers (endpoint-management tools such as Jamf, CrowdStrike or JumpCloud). Endpoints front HTTP(S) applications (load balancers, network interfaces) and, since February 2025, TCP resources such as SSH and RDP hosts and RDS databases through the Verified Access client. All requests are denied until a policy allows them, and every attempt is logged. A Client VPN grants network reach; Verified Access grants one application at a time.

⚠️ Exam Trap: An SCP that requires aws:PrincipalOrgID does nothing to stop an external account that a bucket policy lets in, because SCPs never apply to principals outside your organization. Blocking outsiders centrally needs an RCP.

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned