Docs Menu

Docs HomeLaunch & Manage MongoDBMongoDB Atlas

Set Up a Private Endpoint for a Serverless Instance

On this page

  • Required Access
  • Prerequisites, Considerations, and Limitations
  • Follow These Steps
  • Take the Next Steps


This feature is not available for M0 free clusters, M2, and M5 clusters. To learn more about which features are unavailable, see Atlas M0 (Free Cluster), M2, and M5 Limits.


Serverless instances don't support Private Service Connect. If you need to set up Private Service Connect, use a dedicated cluster.

MongoDB plans to add support for more configurations and capabilities on serverless instances over time. To learn which features MongoDB plans to support for serverless instances in the future, see Serverless Instance Limits.

Follow these steps to enable a client to connect to an Atlas serverless instance using a private endpoint.

To learn more about using private endpoints with Atlas, see Learn About Private Endpoints in Atlas.

To set up a private endpoint for a dedicated cluster, see Set Up a Private Endpoint for a Dedicated Cluster.

To set up a private endpoint for a serverless instance, you must have Project Owner access to the project. Users with Organization Owner access must add themselves to the project as a Project Owner.

To learn the prerequisites, considerations, and limitations for setting up a private endpoint, see the following resources:

← Set Up a Private Endpoint for a Dedicated Cluster