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

Update a Federated Database Instance Region

You can change the cloud provider region through which your federated database instance requests are routed. By default, Data Federation requests are routed through the region that is closest to your client application. The region that is closest to your application may be different from the regions that house your data stores.

Note

If you change the cloud provider region through which your federated database instance requests are routed, you must update your federated database instance connection string with the new hostname. This change ensures that your requests are routed through the new region.

To update your federated database instance region, you must have Project Owner access to the project. Users with Organization Owner access must add themselves as a Project Owner to the project before setting up a private endpoint.

To change the AWS region through which your federated database instance requests are routed, do the following in the Atlas CLI or Atlas UI:

To modify the details of the specified Data Federation database for your project using the Atlas CLI, run the following command:

atlas dataFederation update <name> [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas dataFederation update.

Rate this page