Skip to content

Instantly share code, notes, and snippets.

@thekoushik
Last active October 5, 2018 04:59
Show Gist options
  • Save thekoushik/c62979b420a284f581248bf6e693d41c to your computer and use it in GitHub Desktop.
Save thekoushik/c62979b420a284f581248bf6e693d41c to your computer and use it in GitHub Desktop.
Connect RoboMongo with AWS MongoDB

install mongodb

...

open mongod.conf

vim /etc/mongod.conf

change bindip 127.0.0.1 to 0.0.0.0

    bindIp:   0.0.0.0

restart mongod

systemctl restart mongod

also remember to allow 27017 port

connect robomongo

  • put ip
  • goto SSH tab
  • tick "Use SSH tunnel"
  • put ip in SSH Address and username
  • browse the .pem file given by AWS in Private Key
  • click test
  • save and connect

Thats it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment