Skip to content

Commit aaac720

Browse files
fix(mdb): menu
1 parent 9e21056 commit aaac720

14 files changed

+189
-287
lines changed

managed-databases/mongodb/how-to/add-a-database.mdx

Lines changed: 0 additions & 29 deletions
This file was deleted.

managed-databases/mongodb/how-to/add-users.mdx

Lines changed: 0 additions & 46 deletions
This file was deleted.

managed-databases/mongodb/how-to/configure-advanced-settings.mdx

Lines changed: 0 additions & 45 deletions
This file was deleted.

managed-databases/mongodb/how-to/connect-database-instance.mdx

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ categories:
1515

1616
<Macro id="requirements" />
1717

18-
<Message type="requirement">
19-
- You have an account and are logged into the [Scaleway console](https://console.scaleway.com)
20-
- You have a [MongoDB™ Database Instance](/managed-databases/mongodb/quickstart)
21-
</Message>
18+
19+
- A Scaleway account logged into the [console](https://console.scaleway.com)
20+
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
21+
- A [MongoDB™ Database Instance](/managed-databases/mongodb/quickstart)
22+
- Installed either [mongosh](https://www.mongodb.com/docs/mongodb-shell/), or the [pymongo](https://pymongo.readthedocs.io/en/stable/) distribution for Python, or the Node.js [mongodb module](https://www.npmjs.com/package/mongodb) or the [mongo driver for Go](https://github.com/mongodb/mongo-go-driver), or [Mongoose](https://mongoosejs.com/) on your local machine
23+
2224

2325
## How to connect via database client
2426

2527
1. Click **MongoDB™** under **Managed Databases** on the side menu. A list of your Database Instances displays.
2628
2. Click the database name or <Icon name="more" /> > **More info** to access the Database Instance information page.
2729
3. Click <Icon name="download" /> next to the **TLS certificate** to download it.
2830
4. Transfer the file to where you will execute the connection command.
29-
5. Return to the console and click **Connect** in the **Connect Database Instance** section.
31+
5. Return to the console and click **Connect** in the **Connect Database Instance** section. A pop-up appears.
3032
6. Select a connection mode. The following modes are available: `mongosh`, `Python`, `Go`, `Node.js` and `Mongoose`.
3133
7. Replace the variables in the commands with your information.
3234

@@ -38,35 +40,34 @@ To connect to a public endpoint using the MongoDB™ shell:
3840

3941
1. Replace the following variables in the command as described:
4042
```sh
41-
mongosh "mongodb+srv://{instance_id}.mgdb.{region}.scw.cloud" --tlsCAFile {your_certificate.pem} -u {username}
43+
mongosh "mongodb+srv://{instance_id}.mgdb.{region}.scw.cloud" --tlsCAFile {your_certificate.pem} -u {username
4244
```
4345

44-
- `{your-certificate.pem}` - the TLS certificate downloaded on **step 3**.
45-
- `{username}` - the username you defined upon Database Instance creation.
46-
- `{db-instance-id}` - the UUID of your Database Instance.
47-
- `{region}` - the database name you entered upon Database Instance creation. The default is called `rdb`.
46+
- `{your-certificate.pem}` - the TLS certificate downloaded on **step 3**.
47+
- `{username}` - the username you defined upon Database Instance creation.
48+
- `{db-instance-id}` - the UUID of your Database Instance.
49+
- `{region}` - the database name you entered upon Database Instance creation. The default is called `rdb`.
4850

49-
```
5051
2. Run the command.
5152
3. Enter your password when prompted.
5253

5354
If the connection is successful, you should see the following message display on your console, and be able to write queries:
54-
```sh
55-
The server generated these startup warnings when booting
56-
Powered by MongoDB™ v0.9.0 and PostgreSQL 14.6.
57-
```
55+
```sh
56+
The server generated these startup warnings when booting
57+
Powered by MongoDB™ v0.9.0 and PostgreSQL 14.6.
58+
```
5859

59-
Follow the same procedure to connect to a private endpoint for one node, replacing `{privateNetorkName}` with the name of your Private Netowrk:
60+
Follow the same procedure to connect to a private endpoint for one node, replacing `{privateNetorkName}` with the name of your Private Network:
6061

61-
```sh
62-
mongosh "mongodb://{instance_id}-0.{privateNetworkName}" -u {username}
63-
```
62+
```sh
63+
mongosh "mongodb://{instance_id}-0.{privateNetworkName}" -u {username}
64+
```
6465

6566
For multiple nodes, replace `{db-instance-id}` with the Database Instance UUID of each respective Instance, and `{privateNetworkName}` with the names of your Private Network:
6667

67-
```sh
68-
"mongodb://{instance_id}-0.{privateNetworkName},{instance_id}-1.{privateNetworkName},{instance_id}-2.{privateNetworkName}" -u {username}
69-
```
68+
```sh
69+
"mongodb://{instance_id}-0.{privateNetworkName},{instance_id}-1.{privateNetworkName},{instance_id}-2.{privateNetworkName}" -u {username}
70+
```
7071

7172
### Python
7273

managed-databases/mongodb/how-to/create-a-database-instance.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ content:
77
paragraph: This page explains how to create a MongoDB™ Database Instance
88
tags: postgresql mongodb mongodb database-instance managed-database database
99
dates:
10-
validation: 2024-02-08
11-
posted: 2023-08-01
10+
validation: 2024-10-01
11+
posted: 2024-10-01
1212
categories:
1313
- managed-databases
1414
---
@@ -28,9 +28,9 @@ Document databases enable users to store and retrieve data in a document format,
2828
1. Click **MongoDB™** under **Managed Databases** on the side menu, if you do not have a Database Instance already created, the creation page displays.
2929
2. Click **Create a Database Instance**. The creation wizard displays.
3030
3. Complete the following steps in the wizard:
31-
- Select ** MongoDB™** as a database engine.
31+
- Select **MongoDB™** as a database engine.
3232
- Choose a region. This is the geographical location where your database will be deployed.
33-
- Select a database configuration. You can choose between:
33+
- Select a replica set configuration. You can choose between:
3434
- **Replica-set 1-node** - an instance of MongoDB™ that runs as a single server and does not provide redundancy or high availability.
3535
- **Replica-set 3-nodes** - a group of 3 MongoDB™ servers (1 primary and 2 standby nodes) that maintain the same data set. Replica sets provide redundancy and high availability and are the basis for all production deployments. If the main node fails for any reason, one of the remaining standby nodes is assigned and can take over requests, reducing downtime.
3636
- Select a node type.
@@ -46,4 +46,4 @@ Document databases enable users to store and retrieve data in a document format,
4646
- Enter a name for your Database Instance.
4747
4. Click **Create a Database Instance** to confirm your choices and launch creation.
4848

49-
You are taken to the **Overview** tab for your Database Instance, where you can see information including the **Endpoint** to enable you to connect to it.
49+
You are taken to the **Overview** tab for your Database Instance.

managed-databases/mongodb/how-to/delete-a-database-instance.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ content:
77
paragraph: This page explains how to delete a Database
88
tags: managed-database postgresql mongodb mongodb document database-instance
99
dates:
10-
validation: 2024-02-08
11-
posted: 2023-08-01
10+
validation: 2024-10-01
11+
posted: 2024-10-01
1212
categories:
1313
- managed-databases
1414
---
1515

1616

1717
<Macro id="requirements" />
1818

19-
<Message type="requirement">
20-
- You have an account and are logged into the [Scaleway console](https://console.scaleway.com)
21-
- You have a [MongoDB™ Database Instance](/managed-databases/mongodb/quickstart)
22-
</Message>
19+
- A Scaleway account logged into the [console](https://console.scaleway.com)
20+
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
21+
- A [MongoDB™ Database Instance](/managed-databases/mongodb/quickstart)
22+
2323

2424
1. Click **MongoDB™** under **Managed Databases** on the side menu. A list of your Database Instances displays.
2525
2. Click the database name or <Icon name="more" /> > **More info** to access the Database Instance information page.
26-
3. Scroll down the page to the **Delete Instance** section and click **Delete Instance**. A pop-up appears to inform you that:
26+
3. Click the **Settings** tab, scroll down to the **Delete Database Instance** section and click **Delete Instance**. A pop-up appears to inform you that:
2727
<Message type="important">
2828
This will permanently destroy your Instance, and all your data will be lost. This action is irreversible.
2929
</Message>

managed-databases/mongodb/how-to/delete-database.mdx

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
meta:
3+
title: How to increase the storage of a Managed Database for MongoDB™
4+
description: Guide to increasing the block volume of your MongoDB™ Database Instance at Scaleway.
5+
content:
6+
h1: How to increase the storage of a Managed Database for MongoDB™
7+
paragraph: Guide to increasing the block volume of your MongoDB™ Database Instance at Scaleway.
8+
tags: managed-database postgresql mysql upgrade
9+
dates:
10+
validation: 2024-10-01
11+
posted: 2024-10-01
12+
categories:
13+
- managed-databases
14+
---
15+
16+
You can increase the Block Storage volume of your MongoDB™ Database Instance in the Scaleway console anytime.
17+
18+
<Macro id="requirements" />
19+
20+
- A Scaleway account logged into the [console](https://console.scaleway.com)
21+
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
22+
- A [MongoDB™ Database Instance](/managed-databases/mongodb/quickstart)
23+
24+
25+
## How to increase a Block Storage volume
26+
27+
1. Click **MongoDB™** under **Managed Databases** on the side menu. A list of your Database Instances displays.
28+
2. Click the name of the Database Instance you want to configure. The Database Instance overview page displays.
29+
3. Scroll down to **Volume settings**.
30+
4. Specify your volume capacity (in GB). The amount you define will be your new volume capacity.
31+
<Message type="important">
32+
- You can increase your Block Storage volume to up to 10 TB.
33+
- Block volume sizes cannot be decreased.
34+
</Message>
35+
5. Click **Increase volume size** to confirm.

managed-databases/mongodb/how-to/manage-permissions.mdx

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)