Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

How can I connect to Mongo DB on Linux box on AWS?

We have a Linux box on AWS with a Mongo DB on it. I have the code locally that uses the DB.

Now, I want to look at the tables in this Mongo DB. How can I do this? Someone the team said maybe:

use datagrip, which lets me create a MongoDB connection tunneled over ssh to the production box.

I use SQL Server with SSMS. New to Mongo and connecting to this database. Is "datagrip" like SSMS? Any ideas how I can do this?
SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

The explanation helps. I'll look into Datagrip since my manager is using it. I will also look into "Mongo's own Compass". I'm guessing this is like SQL Server's SSMS.
Avatar of Kimputer
Kimputer

Except much simpler, since Mongo is much simpler by design (like about 100-fold)
Thanks. I'll look into the tools.
>>Whenever you do SSH tunneling though
I have Datagrip downloaded. I have the credentials. Before connecting view Datagrip , do I need to establish some kind of an SSH connection?

So....I downloaded Datagrip, entered the credentials (can't connect - double checking that)...but thinking is there another step I'm missing?


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, then I have it correctly. I'll see why  I cant connect. Maybe wrong credentials. I'll check with my manager.

Have you used Datagrip? 
No, I have not, I'm going by screenshots.
Thanks
I couldn't connect but this helps. I'll close this question and research why I can't connect. 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, I'll try that as well. 
Putty worked. Compass still isn't. I'll open a new question with screenshots.
Thanks for your help.
It just connected using Compass. Thanks for your help.