Managed MongoDB® is currently in private beta. Click here to join the waiting list.
How to create a MongoDB® Database Instance
Managed MongoDB® provides fully-managed document Database Instances, with MongoDB® as a database engine.
Document databases enable users to store and retrieve data in a document format, such as json
. Compared to traditional relational databases where data is stored in a table-like format, document-type storage supports storing multiple nested keys and values in each document key.
Before you startLink to this anchor
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
How to create a databaseLink to this anchor
-
Click MongoDB® under Managed Databases on the side menu, if you do not have a Database Instance already created, the creation page displays.
-
Click Create a Database Instance. The creation wizard displays.
-
Complete the following steps in the wizard:
- Select MongoDB® as a database engine.
- Choose a region. This is the geographical location where your database will be deployed.
- Select a replica set configuration. You can choose between:
- Replica-set 1-node - an instance of MongoDB® that runs as a single server and does not provide redundancy or high availability.
- 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.
- Select a node type.
- Configure storage settings. You can:
- Choose the IOPS setting, between 5k and 15k.
- Define your volume size. Block Storage volumes can increase up to 10 TB.
- Review the snapshot configuration. During the private beta, only manual snapshots are available.
-
Configure your Network. Choose one or both of the options below:
- Attach to Private Network: allows your databases to communicate in an isolated and secure network without requiring a public IP address. If you select this option, you must either:
- Select and attach an existing Private Network and select the network from the drop-down list.
Important
The Database Instance must be attached to a Private Network in the same region.
- Create and attach a new Private Network and enter the name of the network in the form.
Important
If you select this option, a Private Network with default settings will be created in the same region as your Database Instance. Do not use a TLD (e.g.
dev
orcloud
) as a name, to avoid conflicts.
- Select and attach an existing Private Network and select the network from the drop-down list.
- Set up public connectivity: resources in a public network are publicly visible by default.
- Attach to Private Network: allows your databases to communicate in an isolated and secure network without requiring a public IP address. If you select this option, you must either:
-
Complete the remaining steps in the creation wizard:
- Create credentials: add a name and set a password for your user.
Important
Your username must adhere to specific criteria.
- Length must be between 1 and 63 characters
- First character must be an alphabetic character (a-Za-Z)
- It cannot start with _rdb
- Only a-zA-Z0-9_$- characters are accepted
- Enter a name for your Database Instance.
- Review the estimated cost.
- Create credentials: add a name and set a password for your user.
-
Click Create Database Instance to confirm your choices and launch creation.
You are taken to the Overview tab for your Database Instance.