We’re in the process of securing our environment and looking for a way to provide our developers with a secure way to establish a connection with a local client. We want to avoid adding a Network Access rule with whitelisting 0.0.0.0/0 and yet allow our devs to connect using AWS authentication.
We already tried 2 methods:
- Reverse proxy - in this method we tried to setup a reverse proxy (Nginx) to one of the clusters nodes but this method not works as expected when the selected node is not the primary (Compass fails to display the databases while mongosh displayed the dbs). We also had to use “Direct Connection”.
- SSH tunnel - we configured an openssh server and defined the SSH connection in Compass but failed to establish a connection.
What could be the way to establish a connection using a proxy or something similar, to an Atlas Cluster?
Thank you all in advance!