Skip to content

Commit c6e2d0a

Browse files
authored
Merge pull request #8494 from ovh/public_cloud_db_pg_connect_py
[Public Cloud DB] Update pg connect py and mongo connect with manager
2 parents 0549dbc + 3bf3051 commit c6e2d0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+329
-539
lines changed

pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.de-de.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MongoDB - Configure your MongoDB instance to accept incoming connections
33
excerpt: Find out how to configure your MongoDB instance to accept incoming connections
4-
updated: 2023-12-06
4+
updated: 2025-10-08
55
---
66

77
## Objective
@@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig
3030

3131
We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case.
3232

33-
In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
33+
In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
3434

35-
![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail}
35+
![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail}
3636

37-
Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel.
37+
After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password.
3838

39-
![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail}
39+
![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail}
4040

4141
#### Step 2: Authorise incoming connections from the MongoDB client
4242

@@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts.
4646

4747
Click to authorise a new IP. In our case we will enter 109.190.200.59:
4848

49-
![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail}
49+
![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail}
5050

5151
> [!primary]
5252
>
@@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59:
5555
5656
### Get your connection information (URI)
5757

58-
Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI.
58+
Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI.
5959

6060
You can specify the MongoDB connection string using either:
6161

6262
- *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**.
6363
- *Service -> mongodbSrv* for the DNS Seed List Connection String format.
6464

65-
![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail}
65+
![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail}
6666

6767
> [!primary]
6868
>
@@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either:
8686
> mongodbSrv
8787
>> It should be similar to this:
8888
>> ```
89-
>> mongodb+srv://<username>:<password>@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset
89+
>> mongodb+srv://<username>:<password>@<hostname>/admin?replicaSet=replicaset&tls=true
9090
>> ```
9191
92-
Select the `Users`{.action} tab to get the username or reset a user password.
93-
94-
![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail}
95-
9692
## Go further
9793
9894
[MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities)

pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-asia.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MongoDB - Configure your MongoDB instance to accept incoming connections
33
excerpt: Find out how to configure your MongoDB instance to accept incoming connections
4-
updated: 2023-12-06
4+
updated: 2025-10-08
55
---
66

77
## Objective
@@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig
3030

3131
We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case.
3232

33-
In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
33+
In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
3434

35-
![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail}
35+
![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail}
3636

37-
Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel.
37+
After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password.
3838

39-
![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail}
39+
![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail}
4040

4141
#### Step 2: Authorise incoming connections from the MongoDB client
4242

@@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts.
4646

4747
Click to authorise a new IP. In our case we will enter 109.190.200.59:
4848

49-
![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail}
49+
![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail}
5050

5151
> [!primary]
5252
>
@@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59:
5555
5656
### Get your connection information (URI)
5757

58-
Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI.
58+
Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI.
5959

6060
You can specify the MongoDB connection string using either:
6161

6262
- *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**.
6363
- *Service -> mongodbSrv* for the DNS Seed List Connection String format.
6464

65-
![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail}
65+
![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail}
6666

6767
> [!primary]
6868
>
@@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either:
8686
> mongodbSrv
8787
>> It should be similar to this:
8888
>> ```
89-
>> mongodb+srv://<username>:<password>@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset
89+
>> mongodb+srv://<username>:<password>@<hostname>/admin?replicaSet=replicaset&tls=true
9090
>> ```
9191
92-
Select the `Users`{.action} tab to get the username or reset a user password.
93-
94-
![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail}
95-
9692
## Go further
9793
9894
[MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities)

pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-au.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MongoDB - Configure your MongoDB instance to accept incoming connections
33
excerpt: Find out how to configure your MongoDB instance to accept incoming connections
4-
updated: 2023-12-06
4+
updated: 2025-10-08
55
---
66

77
## Objective
@@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig
3030

3131
We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case.
3232

33-
In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
33+
In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
3434

35-
![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail}
35+
![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail}
3636

37-
Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel.
37+
After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password.
3838

39-
![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail}
39+
![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail}
4040

4141
#### Step 2: Authorise incoming connections from the MongoDB client
4242

@@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts.
4646

4747
Click to authorise a new IP. In our case we will enter 109.190.200.59:
4848

49-
![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail}
49+
![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail}
5050

5151
> [!primary]
5252
>
@@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59:
5555
5656
### Get your connection information (URI)
5757

58-
Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI.
58+
Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI.
5959

6060
You can specify the MongoDB connection string using either:
6161

6262
- *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**.
6363
- *Service -> mongodbSrv* for the DNS Seed List Connection String format.
6464

65-
![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail}
65+
![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail}
6666

6767
> [!primary]
6868
>
@@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either:
8686
> mongodbSrv
8787
>> It should be similar to this:
8888
>> ```
89-
>> mongodb+srv://<username>:<password>@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset
89+
>> mongodb+srv://<username>:<password>@<hostname>/admin?replicaSet=replicaset&tls=true
9090
>> ```
9191
92-
Select the `Users`{.action} tab to get the username or reset a user password.
93-
94-
![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail}
95-
9692
## Go further
9793
9894
[MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities)

pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-ca.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MongoDB - Configure your MongoDB instance to accept incoming connections
33
excerpt: Find out how to configure your MongoDB instance to accept incoming connections
4-
updated: 2023-12-06
4+
updated: 2025-10-08
55
---
66

77
## Objective
@@ -30,13 +30,13 @@ Select the `Users`{.action} tab. Verify that you have a user with sufficient rig
3030

3131
We provide official MongoDB built-in roles. Please read the [official MongoDB documentation](https://docs.mongodb.com/manual/reference/built-in-roles/) to select the right roles for your use case.
3232

33-
In our example, we will create a user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
33+
In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
3434

35-
![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail}
35+
![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail}
3636

37-
Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel.
37+
After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password.
3838

39-
![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail}
39+
![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail}
4040

4141
#### Step 2: Authorise incoming connections from the MongoDB client
4242

@@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts.
4646

4747
Click to authorise a new IP. In our case we will enter 109.190.200.59:
4848

49-
![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail}
49+
![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail}
5050

5151
> [!primary]
5252
>
@@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59:
5555
5656
### Get your connection information (URI)
5757

58-
Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI.
58+
Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI.
5959

6060
You can specify the MongoDB connection string using either:
6161

6262
- *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**.
6363
- *Service -> mongodbSrv* for the DNS Seed List Connection String format.
6464

65-
![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail}
65+
![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail}
6666

6767
> [!primary]
6868
>
@@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either:
8686
> mongodbSrv
8787
>> It should be similar to this:
8888
>> ```
89-
>> mongodb+srv://<username>:<password>@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset
89+
>> mongodb+srv://<username>:<password>@<hostname>/admin?replicaSet=replicaset&tls=true
9090
>> ```
9191
92-
Select the `Users`{.action} tab to get the username or reset a user password.
93-
94-
![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail}
95-
9692
## Go further
9793
9894
[MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities)

pages/public_cloud/public_cloud_databases/mongodb_02_manage_control_panel/guide.en-gb.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: MongoDB - Configure your MongoDB instance to accept incoming connections
33
excerpt: Find out how to configure your MongoDB instance to accept incoming connections
4-
updated: 2023-12-06
4+
updated: 2025-10-08
55
---
66

77
## Objective
@@ -32,11 +32,11 @@ We provide official MongoDB built-in roles. Please read the [official MongoDB do
3232

3333
In our example, we will create a new user called `foo` with the role `userAdmin` on the `bar` database and the role `readWriteAnyDatabase` on any database as its name implies:
3434

35-
![User Creation](images/mongodb_02_manage_control_panel-20230313174020.png){.thumbnail}
35+
![User Creation](images/mongodb_02_manage_control_panel-add_user.png){.thumbnail}
3636

37-
Once created or updated, note the password then after a few seconds check to verify the user is ready and with the "Enabled" status in the OVHcloud Control Panel.
37+
After a few seconds the user is ready with the "Enabled" status, you can then reset and note its password.
3838

39-
![User ready](images/mongodb_02_manage_control_panel-20230313174249.png){.thumbnail}
39+
![User ready](images/mongodb_02_manage_control_panel-reset_password.png){.thumbnail}
4040

4141
#### Step 2: Authorise incoming connections from the MongoDB client
4242

@@ -46,7 +46,7 @@ This way we can help prevent intrusive connection attempts.
4646

4747
Click to authorise a new IP. In our case we will enter 109.190.200.59:
4848

49-
![Add an IP](images/mongodb_02_manage_control_panel-20230313175157.png){.thumbnail}
49+
![Add an IP](images/mongodb_02_manage_control_panel-add_ip.png){.thumbnail}
5050

5151
> [!primary]
5252
>
@@ -55,14 +55,14 @@ Click to authorise a new IP. In our case we will enter 109.190.200.59:
5555
5656
### Get your connection information (URI)
5757

58-
Select the `General Information`{.action} tab. In the **Login Information** section, copy the Service URI.
58+
Select the `Dashboard`{.action} tab. In the **Connection Information** section, copy the Service URI.
5959

6060
You can specify the MongoDB connection string using either:
6161

6262
- *Service -> mongoDB* for the Standard Connection String format **(soon deprecated)**.
6363
- *Service -> mongodbSrv* for the DNS Seed List Connection String format.
6464

65-
![MongoDB General Information](images/mongodb_02_manage_control_panel-20230313175545.png){.thumbnail}
65+
![MongoDB General Information](images/mongodb_02_manage_control_panel-copy_uri.png){.thumbnail}
6666

6767
> [!primary]
6868
>
@@ -86,13 +86,9 @@ You can specify the MongoDB connection string using either:
8686
> mongodbSrv
8787
>> It should be similar to this:
8888
>> ```
89-
>> mongodb+srv://<username>:<password>@mongodb-d5674315-o2626ab53.database.cloud.ovh.net/admin?replicaSet=replicaset
89+
>> mongodb+srv://<username>:<password>@<hostname>/admin?replicaSet=replicaset&tls=true
9090
>> ```
9191
92-
Select the `Users`{.action} tab to get the username or reset a user password.
93-
94-
![Users tab](images/mongodb_02_manage_control_panel-20230313175812.png){.thumbnail}
95-
9692
## Go further
9793
9894
[MongoDB capabilities](/pages/public_cloud/public_cloud_databases/mongodb_01_concept_capabilities)

0 commit comments

Comments
 (0)