Robo 3T should be able to connect successfully. You are now set! Click on "Test" to test the connection. By default, ScaleGrid provides self-signed certificates, however you have the option to bring your own SSL certificates or ask us to buy them on your behalf: If SSL is enabled on your MongoDB cluster, then additional configuration is required on the SSL tab which can be setup as shown below. Then, enter your user credentials in the remaining fields: In the Authentication tab, enter the Database as "admin" (or whatever database you have created your MongoDB user on). In the Connection tab, select Direct Connection as the ‘Type," give the connection a name, and enter the server name and port picked from the Connection String found in your ScaleGrid MongoDB cluster details page in the "Address" and "Port" fields: Launch Robo 3T and open the ‘Manage Connections’ window:Ĭlick on "Create" to set up a new connection. Here’s an example of how to identify your server name and port from your Connection String: You will need the database server name and port to start, which can be found in your Connection String on your MongoDB cluster details page in the console: Our BYOC and Dedicated plan users often start with a standalone MongoDB deployment during their free 30-day trial before moving on to replica sets for development and production environments. Connecting to a Standalone MongoDB Deployment With the prerequisites in place, we can now go to the Robo 3T GUI to continue to connect to our database deployment. For this example, I will create a new user who has read-write access to any database on the cluster: You can also use the ScaleGrid web-shell available on the Admin tab to create such users. In order to create simple, per-database, read-write or read-only users, log into the ScaleGrid console, navigate to the cluster details page, and click on the Databases tab:Ĭlick on the Manage button beside the database you want to create the user on and then select the Users tab:įor creating users with more advanced roles and permissions, refer to the MongoDB Add Users tutorial, MongoDB roles guide or our guide to MongoDB RBAC. The roles that you choose to assign to the user will depend on your exact use-case. Instead, create a new user with appropriate permissions for client access. We do not recommend connecting to your MongoDB deployment using the “admin” user that ScaleGrid provides by default. The latest version of Robo 3T at the time of writing this is 1.2, which supports MongoDB versions up to 3.4. It’s very important to check your ScaleGrid deployment to ensure you install the Robo 3T version that supports the deployment’s current MongoDB version, and you can check this link for more information on Robo 3T’s supported platforms. For AWS customers who have their deployments open to the internet, this will involve adding the identified machine’s IP address to the ScaleGrid cluster’s whitelist.For our MongoDB Bring Your Own Cloud (BYOC) AWS deployments that are not open to the internet, this may mean selecting an instance that is allowed to connect to the Security Group and also has VPN connectivity to the Virtual Private Cloud (VPC).For new ScaleGrid users, create a free 30-day trial account and set up your first MongoDB cluster (Robo 3T supported on all plans). You can either create a new instance, or pick an existing instance that has access to the ScaleGrid MongoDB cluster you’d like to connect to. The first thing we need to do is identify a machine to install Robo 3T. This open source tool has cross-platform support and actually embeds the mongo shell within its interface to provide both shell and GUI-based interaction.Īs a highly-popular GUI leveraged by our MongoDB hosting customers, we’re providing this tutorial on how to quickly connect your ScaleGrid deployment with Robo 3T. Robo 3T (formerly Robomongo) is a popular desktop graphical user interface (GUI) for your MongoDB hosting deployments that allows you to interact with your data through visual indicators instead of a text-based interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |