---
title: "Enforce Data Sovereignty With MongoDB Atlas Resource Policies"
description: "MongoDB Atlas Resource Policies are organization-level controls that enforce infrastructure governance rules using the open-source Cedar policy language, acting as intelligent guardrails that constrain configuration options while maintaining developer flexibility. Two key policies are Restrict Cloud Hyperscaler, which controls which cloud platforms can be used, and Restrict Cloud Hyperscaler Region, which restricts deployments to specific geographic regions. These policies ensure compliance with data residency regulations like GDPR and CCPA and prevent cost overruns. A global financial services company combined hyperscaler and region policies with network security controls to keep customer data in GDPR-compliant AWS regions, achieving zero compliance violations in a subsequent audit. Resource policies are enforced automatically, preventing noncompliant configurations before creation while existing noncompliant clusters continue running, and can be managed through the Atlas UI, API, Terraform, or AWS CloudFormation at no additional cost."
---

# Enforce Data Sovereignty With MongoDB Atlas Resource Policies

[MongoDB](https://yomu.fyi/company/mongodb) · Nov 3, 2026

**Type:** Explainer

## Summary

MongoDB Atlas Resource Policies are organization-level controls that enforce infrastructure governance rules using the open-source Cedar policy language, acting as intelligent guardrails that constrain configuration options while maintaining developer flexibility. Two key policies are Restrict Cloud Hyperscaler, which controls which cloud platforms can be used, and Restrict Cloud Hyperscaler Region, which restricts deployments to specific geographic regions. These policies ensure compliance with data residency regulations like GDPR and CCPA and prevent cost overruns. A global financial services company combined hyperscaler and region policies with network security controls to keep customer data in GDPR-compliant AWS regions, achieving zero compliance violations in a subsequent audit. Resource policies are enforced automatically, preventing noncompliant configurations before creation while existing noncompliant clusters continue running, and can be managed through the Atlas UI, API, Terraform, or AWS CloudFormation at no additional cost.

## Context

This post explains two MongoDB Atlas Resource Policies—Restrict Cloud Hyperscaler and Restrict Cloud Hyperscaler Region—that enforce multi-cloud governance by controlling which cloud platforms and geographic regions can be used for cluster deployments. It includes Cedar policy examples, benefits, and a financial services compliance use case.

## Approach / What changed

Define resource policies using the Cedar policy language to restrict cloud hyperscaler and region, enforced automatically at the organization level.

## Takeaways

- Resource policies are enforced automatically at the organization level, preventing noncompliant configurations before creation, while existing noncompliant clusters continue running.
- The Restrict Cloud Hyperscaler policy controls which cloud platforms (AWS, Google Cloud, Azure) can be used for cluster deployments, helping with compliance, cost optimization, and operational consistency.
- The Restrict Cloud Hyperscaler Region policy restricts deployments to specific geographic regions, enabling data residency compliance and disaster recovery planning.

## FAQ

### What happens to existing noncompliant clusters when a policy is applied?

Existing noncompliant clusters continue running. Policies only restrict modifications or the creation of new resources that would keep them out of compliance.

### How are resource policies defined and managed?

Resource policies are defined using the open-source Cedar policy language, which is designed for clarity and expressiveness. Policies can be created through the Atlas UI, API, Terraform, or AWS CloudFormation.

### Can resource policies be managed programmatically?

Yes, through the Atlas Administration API for programmatic management, Terraform for infrastructure-as-code integration, or AWS CloudFormation for native AWS deployment.

**Tags:** [Atlas](https://yomu.fyi/topic/atlas), [Compliance](https://yomu.fyi/topic/compliance), [Data Sovereignty](https://yomu.fyi/topic/data-sovereignty), [Governance](https://yomu.fyi/topic/governance), [MongoDB](https://yomu.fyi/topic/mongodb)

- Source: [MongoDB](https://www.mongodb.com/company/blog/innovation/enforce-data-sovereignty-with-mongodb-atlas-resource-policies)
- Source URL: https://www.mongodb.com/company/blog/innovation/enforce-data-sovereignty-with-mongodb-atlas-resource-policies
- Ingested by Yomu: 2026-11-03T21:00:27.405Z

[Read original post](https://www.mongodb.com/company/blog/innovation/enforce-data-sovereignty-with-mongodb-atlas-resource-policies)
