Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Norberto Leite
Created on Mar 13, 2026

Access to Shard cluster shards via private link

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

Once you migrate to sharded cluster, and connect via private links, you loose complete direct access to the shard nodes on private link connections since all connections are then routed via mongos However, there are certain operations that one needs to perform directly on the shard cluster primary or secondary nodes such as enabling profiling level or collect stats from a dedicated node. Right now, the only option is to circumvent the private endpoint and use public endpoints - which defeats the purpose of using private endpoints in the first place.

What would you like to see happen?

Describe the desired outcome or enhancement.

Keep the private endpoint capabilities for direct access to individual nodes on sharded nodes.

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

Bypassing private links is a security liability and can only be accomplished by high privilege access users. Quickly becomes an operational bottleneck on large fleets.

What steps, if any, are you taking today to manage this problem?

explained above - we need to enable ACLs and bypass private link connections.