MongoDB Configuration for AWS client
Jul 12, 2021
There are two ways in which we can connect to our MongoDB database
- Via Command Client
- Via MongoDB Compass Client
MongoDB Compass Client Procedure
- Choose Fill in connection individually
- Select More Option
- Select SSH Tunnel (Use identity file)
- Input Host Name (Ex — 3.94.91.131)
- Select Tunnel Port (22)
- SSH Username (ec2-user)
- SSH Identity File (Choose private .PPK file)
- Click Connect
- Good to go..!
The above steps will help to connect & configure your MongoDB database for AWS client.