New Quick Start for MongoDB on AWS URI to connect from application

0 votes

I can't find any details on how to connect to the cluster from a standalone Java application. I've tried following the general Mongo URI format here (https://docs.mongodb.com/manual/reference/connection-string/) - 

I assume the target should be the Bastion public IP, but I'm not sure what the username and password details should be in the connection string

Aug 28, 2019 in AWS by Yamini
1,198 views

1 answer to this question.

0 votes

Hey @Yamini,

To start off with, configure your putty

Then create a tunnel

ssh -i "whatever.pem" -NL 4444:rabbitmq.cpypigm0kth7.us-east-1.rds.amazonaws.com:5432 ec2-user@<ip address> -v

or using RDS private IP address:

ssh -i “whatever.pem” -NL 4444:10.0.2.210:5432 ec2-user@<ip address> -v

Hope this helps!!

To know more about Mongodb, go for Mongodb training online without fail.

Thanks!

answered Aug 28, 2019 by Randy

Related Questions In AWS

0 votes
1 answer

Using pymongo to connect to MongoDB hosted on AWS

Yes, the drivers work independently of any ...READ MORE

answered Sep 14, 2018 in AWS by Priyaj
• 58,090 points
1,203 views
0 votes
1 answer

Using pymongo to connect to MongoDB hosted on AWS

Yes, the drivers work independently of any ...READ MORE

answered Sep 17, 2018 in AWS by Priyaj
• 58,090 points
398 views
0 votes
1 answer

How can i copy tables from one database to other on AWS?

You can use AWS Data pipeline to ...READ MORE

answered Jul 5, 2018 in AWS by Priyaj
• 58,090 points
4,365 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP