Using Compass to connect to Atlas with AWS VPC peering

Hello Community,

New to the ops in general. I recently set up AWS VPC peering for my databases in MongoDB Atlas, the databases in Atlas will only accept connections from ec2 instances on the same VPC. Are there any up to date articles on connecting to the databases using MongoDB Compass (1.12+)? I tried following the documentation provided, but none of them have worked out.

One of the major issues I have encountered is the SRV record not being supported with SSH. I’ve tried using the old connection string that is provided when you choose MongoDB Compass (1.11 or earlier) and I get an “invalid hostname”. Any help would be appreciated, thank you!