I’m currently right sizing some of my mongo instances and one issue I ran into was our connections. When using dedicated clusters for our project, the connection would work outright. In our network access we have a security group configured.
When I switched to a flex server, these same servers cannot connect. I also have a VPC configured and I imagine the vpc connection is working to get my dedicated clusters to connect. Is it possible to use security groups to connect my flex server?
Apologies about the delay here. Flex clusters do not have private networking or VPC peering. Therefore you would have to connect to them using the cluster’s public endpoint.
Hey Anurag! Since the new flex clusters are marketed as new product combining features from shared clusters and serverless clusters, and the depricated serverless clusters have a support for Private endpoints. But Flex seems to lack it. Is there any chance, in near future, MongoDB will rollout private networking or vpc peering for flex clusters? Or We’ve to shift to dedicated ones.
Currently there are no plans to support Private Endpoints for Flex clusters before the migration deadlines for Serverless. Therefore, you will have to migrate to Dedicated clusters if you currently have a Serverless cluster and want to continue using Private Endpoints.