K
K
Konstantin Chuykov2015-08-27 15:45:47
MongoDB
Konstantin Chuykov, 2015-08-27 15:45:47

How to access EC2 MongoDB?

Hello! I'm just learning the principles of working with aws, I attracted a year (?) of a free micro instance, I want to use it for meteor applications. I created an instance on ubuntu, deployed the application with the help of mup, and the site is already opening by ip. But I need to use the MongoHub (or RoboMongo) program to access the MongoDB database on the server.
To connect to ssh, I use the .pem key, and therefore it does not ask for a password, but the MongoHub program, even when specifying the key, asks for a password from the ubuntu account, I have not seen it in my eyes, and I don’t remember it. There is an option to use DynamoDB, but I would like to use a local database all the same. Tell me how to do it? Is it possible to reset the password, or something else?!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergei Borisov, 2015-08-27
@risik

> I didn't see him in person, and I don't remember
. You won't be able to remember any password, because he didn't exist. Only the key.
> Is it possible to reset the password, or something else?!
And you don't have to drop anything. And do not allow access via ssh with a password. Only by key.
Update I don't know what MongoHub is and why you need it. But if it is such that it does not know how to correctly use ssh with a key, and you cannot live without it, then connect a tunnel to the instance through ssh.

P
Puma Thailand, 2015-08-27
@opium

well, connect from the application to mongo and do not use your mongo hub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question