

- #Connect mongodb compass to aws drivers#
- #Connect mongodb compass to aws upgrade#
- #Connect mongodb compass to aws pro#
You can download the public key at the following URL: Next you need to download the public key for Amazon DocumentDB. Skip this article if TLS is disabled for your cluster.Ĭlick SSL/X509 Options in the left panel of New MongoDB Connection dialog and switch on Use SSL Protocol option on the right side. Set up SSL Options.īy default, a newly created Amazon DocumentDB cluster only accepts secure connections using Transport Layer Security (TLS). In Connection name you can specify an alias for this connection. From here, you can find your database server name and port from. Next select SCRAM-SHA1-1 in Authentication field and specify your MongoDB user and password in User and Password fields. Under the Overview tab, find your Connection String. Log in to AWS DocumentDB Console and click your cluster name on the right side.Ĭopy the address from connection string and paste it to Host field, also type port number in Port field. You can get the cluster endpoint using the AWS DocumentDB Console. Specify cluster endpoint of your Amazon DocumentDB cluster in Host field. Set MongoDB Connection.Ĭlick Connection in the left panel of New MongoDB Connection dialog. You can test your SSH settings with Test SSH Server Connection button. pem file for the key pair that you specified when you launched the instance. Next switch Use private key for authentication option on and specify in Primary key field fully-qualified path to the location on your computer of the.

Type the default user name ec2-user in User field. Log in to Amazon EC2 console, click Instances in the left panel, choose your instance on the right side and copy Public DNS address. You can get the public DNS using the Amazon EC2 console. Specify public DNS of the Amazon EC2 instance running in the same Amazon VPC as your Amazon DocumentDB cluster in SSH Host field. Set up SSH Options.Ĭlick SSH Options in the left panel and switch on Use SSH Tunneling option on the right side. Register new MongoDB connection.Ĭlick Server|New MongoDB Connection… in the Main menu to register an AWS DocumentDB cluster in NoSQL Manager for MongoDB. The instruction below helps you to establish connection to your Amazon DocumentDB using SSH tunneling feature.
#Connect mongodb compass to aws pro#
NoSQL Manager for MongoDB Pro creates own SSH tunnels and does not require a third-party SSH client like PuTTY. You can either use an existing Amazon EC2 instance in same the Amazon VPC as your cluster or create a new one.

To create an SSH tunnel, you need an Amazon EC2 instance running in the same Amazon VPC as your Amazon DocumentDB cluster. However, you can use SSH tunneling (also known as “port forwarding”) to access your Amazon DocumentDB from NoSQL Manager for MongoDB.
#Connect mongodb compass to aws drivers#
I have checked my /etc/nf # mongod.Amazon DocumentDB is compatible with MongoDB 3.6 drivers and tools.īy default, Amazon DocumentDB in not available for direct connections outside Amazon VPC. So, I have ensured that my Mongo DB server is into a same network from other instances and it have the correct entrance into my Inbound Rules at Security Group.
#Connect mongodb compass to aws upgrade#
After upgrade I can't connect my applications from other ec2 instances using the same Network (private network), but I can connect using my public ip address by mongo compass. I have upgraded my MongoDB from 4.x to 5.0.2 into a Ubuntu 20.04 system.
