Learn how to configure your M3db instance to accept incoming connections.
Managed Databases (also called Cloud Databases) allow you to focus on building and deploying cloud applications while OVHcloud takes care of the database infrastructure and maintenance in operational conditions.
- a Public Cloud project in your OVHcloud account
- access to the OVHcloud Control Panel
- an M3db database running on your OVHcloud Managed Databases (this guide can help you to meet this requirement)
Configure your M3db instance to accept incoming connections
Before making a connection, we need to verify that our M3db instance is correctly configured.
Log in to your OVHcloud Control Panel and open your
Public Cloud project. Click on
Databases in the left-hand navigation bar and select your M3db instance.
Step 1: Verify your user roles and password
Users tab. Verify that you have a user with a configured password. If you don't remember the user's password, you can either create a new user or regenerate the password of an existing user.
You can add more users by clicking on the button
Enter a username (required) and a group (optional), then click
Create User →.
... button in the
Users & Roles table.
Step 2: Authorize incoming connections from the M3db client
In this step, select the
Authorised IPs tab. IP addresses must be authorized here before they can connect to your database.
+ Add an IP address or IP block (CIDR) opens a new window in which you can add single IP addresses or blocks to allow access to the database. Click
You can edit and retract database access via the more options
... button in the IP table.
Collect required information
General information tab to find the required login credentials in the Login information section.
Namespaces tab to get the namespaces information.
To create a new namespace click on
+ Add a namespace.
Fill in the required fields, then click
Add a namespace.
Users tab to get the username.
Visit the GitHub examples repository to find out how to connect to your database with several languages.