---
title: "Secure MongoDB Atlas With Automated IP Access List Policies"
description: "MongoDB Atlas IP access lists control which IP addresses or CIDR blocks can connect to clusters in a project, and each project supports up to 200 entries. Manual management drifts as teams add convenience entries, leaving security teams without visibility until an audit or incident. MongoDB Atlas Resource Policies operate at the organization level and automatically apply to all projects and clusters, blocking insecure configurations before deployment. Two examples are an IP address allowlist that permits only specified addresses and an empty IP access list policy that forces access through private endpoints or VPC peering. Enforcement is consistent across teams, generates activity feed events for auditability, and is included with all Atlas deployments at no additional cost."
---

# Secure MongoDB Atlas With Automated IP Access List Policies

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

**Type:** Problem & solution

## Summary

MongoDB Atlas IP access lists control which IP addresses or CIDR blocks can connect to clusters in a project, and each project supports up to 200 entries. Manual management drifts as teams add convenience entries, leaving security teams without visibility until an audit or incident. MongoDB Atlas Resource Policies operate at the organization level and automatically apply to all projects and clusters, blocking insecure configurations before deployment. Two examples are an IP address allowlist that permits only specified addresses and an empty IP access list policy that forces access through private endpoints or VPC peering. Enforcement is consistent across teams, generates activity feed events for auditability, and is included with all Atlas deployments at no additional cost.

## Context

The post is the first in a five-part series on MongoDB Atlas Resource Policies. Future installments will cover defense-in-depth, blocking wildcard IP access, and restricting access by cloud provider or region.

## Approach / What changed

Use Atlas Resource Policies at the organization level to enforce IP access list rules across all projects and clusters. Choose an IP allowlist policy to permit only specified addresses, or an empty IP access list policy to require private networking through VPC peering or private endpoints. Test policies in a separate organization or nonproduction environment, audit noncompliant resources, and expand to broader security policies. Activity feed events record policy creation, updates, and deletion.

## Takeaways

- Atlas IP access lists apply to all clusters in a project and can contain individual IPs, CIDR ranges, or AWS security groups, with a limit of 200 entries per project.
- An empty IP access list policy blocks all public entries and requires access through private networking such as VPC peering or private endpoints.
- Resource policies are enforced with 100% consistency and generate activity feed events when created, updated, or deleted, supporting auditability.

## FAQ

### What happens when someone tries to add an IP outside an allowlist policy?

The policy blocks the attempt automatically, so the address cannot be added to the access list. This prevents unauthorized access points from being introduced while keeping approved addresses documented and enforced.

### What must be configured before requiring an empty IP access list?

Private networking must already be configured with VPC peering or private endpoints for the cloud provider. The policy then prevents anyone from adding entries to the IP access list, forcing cluster access through those private paths.

### How do resource policies affect developer workflow?

Developers get immediate feedback when they try to create an insecure configuration, so they can make compliant choices from the start. Teams keep self-service deployment within security boundaries, and the deploy-wait-review cycle is removed.

**Tags:** [Authorization](https://yomu.fyi/topic/authorization), [MongoDB](https://yomu.fyi/topic/mongodb), [MongoDB Atlas](https://yomu.fyi/topic/mongodb-atlas), [Networking](https://yomu.fyi/topic/networking), [Security](https://yomu.fyi/topic/security)

- Source: [MongoDB](https://www.mongodb.com/company/blog/innovation/secure-mongodb-atlas-automated-ip-access-list-policies)
- Source URL: https://www.mongodb.com/company/blog/innovation/secure-mongodb-atlas-automated-ip-access-list-policies
- Ingested by Yomu: 2026-11-03T21:00:24.833Z

[Read original post](https://www.mongodb.com/company/blog/innovation/secure-mongodb-atlas-automated-ip-access-list-policies)
