MongoDB Quickstart
Validated on 28 Jun 2021 • Last edited on 27 Sep 2023
MongoDB is a source-available cross-platform document-oriented database program for high-volume storage. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.
Create MongoDB Database Clusters
- From the Create menu in the top right of the control panel, click Databases.
- Select MongoDB as the database engine.
- Choose the cluster configuration and datacenter, and give the cluster a unique name.
For the best performance, create your database cluster in the same region as your Droplets.
- Click Create a Database Cluster.
Change Size or Number of Cluster Nodes
- Select your database cluster from the Databases page.
- Click the Settings tab.
- Click Edit in the Cluster configuration section.
- Select the machine type, node size and number of optional standby nodes.
- Click Save.
Add Additional Users or Databases
- Select your database cluster from the Databases page.
- Click the Users & Databases tab.
- Enter users or database names in the corresponding field.
- Click Save.
Use a client application or command-line tool to manage specific user permissions.
Delete Database Clusters
- Select your database cluster from the Databases page.
- Click the Settings tab.
- Click Destroy in the Destroy this database cluster section.
- Enter the name of the database cluster.
- Click Destroy.