MongoDB Connection
In this article
Connection Configuration
Connection Name: Name of the connection to be created.
Connection String URI Format: The MongoDB connection string can be specified using either the Standard Connection String Format or the DNS Seed List Connection Format.
Example URI for Standard Connection String Format: my.mongodb.com:27017
Example URI for DNS Seed List Connection Format: cluster0.5zzuk.mongodb.ne
For more details about Connection String URI Format, click here.
Connection Type: Option to choose between either connecting securely using SSH Tunnel or, proceed with a Direct Connection.
If Connection Type value is SSH Tunnel, additional fields will be displayed as given below:
To know more about SSH Tunneling with Gathr, see SSH Tunneling.
SSH Key: The SSH key should be provided to authenticate the associated SSH host and SSH user.
SSH Host: Public IP address of your SSH host.
SSH User: Default SSH username.
If Connection Type value is Direct Connection, then proceed by updating the following fields.
Connection URL: The connection URL should be provided to establish a connection with MongoDB as per the Connection String URI Format chosen earlier.
Authentication Options: Option to choose the authentication method from Basic AUTH, MONGODB-AWS or None for connecting to MongoDB.
If Authentication Option is selected as Basic AUTH, additional fields will be displayed as given below:
Username: Connection can be authenticated by providing the Gathr username.
Password: Connection can be authenticated by providing the Gathr password.
If Authentication Option is selected as MONGODB-AWS, additional fields will be displayed as given below:
AWS Access Key Id: AWS account access key ID.
AWS Secret Key: AWS account secret key.
After entering all the details, click on the TEST button.
If the connection service identification and authentication details are provided correctly, a success message stating “connection available” is generated. Click on the CREATE button to save the changes.
If the details are incorrect or the server is down, you will get a message “Connection unavailable”.
If you have any feedback on Gathr documentation, please email us!