AWS VPC peering with Atlas

Hi,

I setup vpc peering between my VPC in AWS and my serverles Atlas cluster.

It seems to be configured fine but I don’t know how to test the connection to the Atlas cluster from a machine in AWS, I can’t find anywhere which connection string to use.

Using the public connection string (mongodb+srv://xxx-db-dev.emgn6.mongodb.net) makes the traffic go through internet and it does not work because I haven’t authorised the outgoing IP of the machine in AWS to access Atlas (and I don’t want to, I want the traffic to stay internal in AWS).

And I can’s see anywhere in the Connect dialog a private connection string that I could use.

Any idea what’s going on here ?

Thanks,
Francis

Looks like vpc peering is not available for serverless yet so that’s why.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.