For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/es/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/es/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/es/guides/public-cloud/databases/mongodb-getting-started.md.
Ir al contenido

Getting started with Public Cloud Databases for MongoDB

Ver como Markdown

Find out how to create your first Public Cloud Databases for MongoDB service from the OVHcloud Console and connect to it

Objective

This guide explains how to create a managed MongoDB database service from the OVHcloud Console and how to connect to it.

Requirements


OVHcloud Console Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Databases

Instructions

In the left-hand menu of your Public Cloud project, click MongoDB under Databases, then click Create a service. The Create a MongoDB service page opens.

Selecting the database engine

Under Database engine, select MongoDB. You can change the version to install under Version.

Selecting a region

Under Select a region, select the region where your service will be deployed.

Selecting a service plan

Under Plan, select the plan that suits your needs:

  • Production: a 3-node cluster, backed up daily with a 7-day retention.
  • Advanced: a 3- to 7-node cluster (including an optional analytics node), backed up daily with a 30-day retention and point-in-time recovery over the last 24 hours.

For a detailed comparison of the plans, read the Capabilities and Limitations guide.

Selecting the node template

Under Node type, select the node template. It defines the compute resources (vCores and RAM) of each node in your cluster. Refer to the price page for details on node types and their specifications.

Sizing your cluster

Under Nodes, adjust the number of nodes (depending on the plan). If the node template offers a storage range, select the additional storage under Storage.

Configuring the network

Under Network, select the network type:

  • Public network: your service is reachable over the Internet.
  • Private network (vRack): your service is only reachable from the private network you select (Private network and Subnet fields). The network and subnet must exist before you create the service.

You can also add IP restrictions now (Add an IP, Add my current IP) or once the service is created.

Reviewing and creating the service

Review the Summary. The name of your cluster is automatically generated; you can change it in the Name field before creating the service, or later.

Click on the Create the database button. The API and Terraform equivalent button shows the equivalent API call and Terraform configuration.

Within a few minutes, your MongoDB service will be deployed.

Configuring connectivity

Once the service is up and running you will be able to configure it to accept incoming connections. A dedicated guide is available to help you configure your service after installation.

Testing the service

When the service is running and accepting incoming connections, the next step is to access the service. The common way to do so is to use MongoDB Compass to connect to the service, following this guide.

If MongoDB Compass is not your preferred method, read these other guides to connect to the service:

Other integration examples can be found on the following repository: https://github.com/ovh/public-cloud-databases-examples/tree/main/databases/mongodb.

We want your feedback!

Visit our dedicated Discord channel: https://discord.gg/ovhcloud. Ask questions, provide feedback and interact directly with the team that builds our databases services.

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Join our community of users.

¿Le ha resultado útil esta página?