Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 720 Bytes

privateLink.md

File metadata and controls

1 lines (1 loc) · 720 Bytes

In the future, we'll connect to the DB using Private Link. During our testing, we noticed a ~15-30% drop in latency when using Private Link vs the public endpoint. You're going to want to deploy to AWS first connecting with your regular public endpoint so you can have your VPC & subnets, create the endpoint on MongoDB's end, then redeploy with the new URI MongoDB gives you. Make sure to follow all the steps on that page, especially the last one (allowing the newly created endpoint to have inbound access from your instances security group). Im leaving this here as a future note :)