For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/de/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/de/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/de/guides/public-cloud/databases/getting-started.md.
Find out how to set up your managed database service in the OVHcloud Console
Objective
OVHcloud Public Cloud managed databases let you focus on building and deploying cloud applications while OVHcloud handles the database infrastructure and maintenance.
This guide explains how to order a Public Cloud managed database service via the OVHcloud Console, API, CLI, or Terraform.
Terraform installed (Terraform method only — tested with version v1.14.6)
OVHcloud Console Access
Direct link:
Navigation path:Public Cloud > Select your project > Databases
Instructions
Via the OVHcloud Console
Via the OVHcloud API
Via the OVHcloud CLI
Via Terraform
In the left-hand menu of your Public Cloud project, click your database engine under Databases (PostgreSQL, MySQL, MongoDB or Valkey). The Analytics section of the menu provides access to Kafka, ClickHouse, OpenSearch, Managed Dashboards, Data Platform and Lakehouse.
Click Create a service. All the settings are on the Create a service page, and the right-hand Summary panel updates as you make selections.
Name and engine
Optionally rename your service (a name is generated by default, and you can generate another one), then select the Database engine and its Version.
Region
Choose the region of the data centre in which your database will be hosted (you can Filter a deployment mode: 1-AZ or 3-AZ region).
Plan
Choose a service plan. You can upgrade it after creation. See the capabilities page of your selected database type for plan property details.
Node type and nodes
Select the Node type. Depending on the plan, the Number of nodes is fixed or can be adjusted. See the capabilities page of your selected database type for hardware and configuration details, and take note of the pricing information.
Storage
Additional storage can be selected for the cluster, on top of the storage included in the node type.
Network
By default, the service is accessible over the Public network. If you already have a private subnet available, select Private network (vRack), then choose the Private network and the Subnet. This option may not be available for the selected plan. You can also click Create a private network. For detailed instructions, see the Configuring vRack for Public Cloud guide.
IP restrictions
Click Add an IP (or Add my current IP) to add the IP addresses or address ranges (CIDR) allowed to connect to your service.
Info
For security, the default network configuration blocks all incoming connections. Authorise a suitable IP address to access your database.
Summary and confirmation
Review the Summary panel, then click Create the database to confirm. To view the equivalent API or Terraform call before ordering, click API and Terraform equivalent.
Your database service deploys within a few minutes. The status of the service in the OVHcloud Console shows when the database is ready to use.
To configure your service after installation, see the Configure your instance to accept incoming connections guide for your database type, available in our catalog.
The call returns an object listing the allowed engines (with versions), plans, and flavors.
Get the availability
The availability endpoint lists the valid parameter combinations. Each entry lists an engine, version, plan, flavor, region, public/private networking support, and min/max node count. Choose the combination that best fits your needs.
This password will not be available later: OVHcloud does not store user passwords.
Step 5: Start using the cluster
The cluster connection information is available in the OVHcloud Console. You can now use the cluster.
Info
All commands require either the --cloud-project <projectId> flag or the OVH_CLOUD_PROJECT_SERVICE environment variable, set to your Public Cloud project ID.
For security, the default network configuration blocks all incoming connections. Authorise a suitable IP address to access your database.
For private networking, add --network-id <networkId> and --subnet-id <subnetId>.
Step 3: Wait for your database service to be ready
ovhcloud cloud managed-database get <clusterId> --cloud-project <projectId>
Its status transitions to READY when the cluster is available.
Step 4: Reset the primary user password
# List users and retrieve the admin user IDovhcloud cloud managed-database user list <clusterId> --cloud-project <projectId># Reset the admin user passwordovhcloud cloud managed-database user credentials-reset <clusterId> <userId> --cloud-project <projectId>
Warning
This password will not be available later: OVHcloud does not store user passwords.
Step 5: Start using the cluster
The cluster connection information is available in the OVHcloud Console. You can now use the cluster.
Step 1: Gather the OVHcloud required parameters
The OVHcloud Terraform provider requires the following credentials:
Visit our dedicated Discord channel to 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.