For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Set Up a Network Container

Network containers are the underlying Atlas resource of VPC peering, and are usually created automatically when you configure the peering connection. However, containers can also be created separately, in cases where you want to configure the CIDR before configuring network peering. You can create the container using an API, and manage it in the Atlas CLI or Atlas Administration API.

You can configure the Atlas CIDR before configuring network peering by using the API to create a network container. To do so, see Create a New Network Peering Container.

To list all network peering containers for your project using the Atlas CLI, run the following command:

atlas networking containers list [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas networking containers list.

To view your network containers, see Return All Network Peering Containers for One Project.

To delete the network peering container you specify using the Atlas CLI, run the following command:

atlas networking containers delete <containerId> [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas networking containers delete.

To delete a network container, see Remove One Network Peering Container.