MongoDB How-Tos

Generated on 15 Aug 2026

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.

Getting Started

How to Create MongoDB Database Clusters

Create a MongoDB database cluster from the DigitalOcean Control Panel.

How to Connect to MongoDB Database Clusters

Connect to MongoDB database clusters from the command line or other applications.

How to Secure MongoDB Managed Database Clusters

Add additional security to a MongoDB managed database cluster by restricting incoming connections.

How to Import and Export MongoDB Data

Import data into or export data from DigitalOcean Managed MongoDB using Database Tools.

Manage Users and Databases

How to Manage MongoDB Users and Databases in a Database Cluster

Create and delete a database cluster’s database users from the DigitalOcean Control Panel.

Monitor

How to Monitor MongoDB Database Cluster Performance

Access and understand performance metrics for nodes in a database cluster.

How to Set Up MongoDB Cluster Monitoring Alerts

Configure alert policies based on database cluster performance metrics.

How to Forward Logs from a MongoDB Cluster

Forward database logs to OpenSearch or Elasticsearch.

How to Monitor Managed MongoDB with PMM 1-Click App

Add Managed MongoDB clusters to PMM using the Marketplace 1-Click PMM Integration helper.

Scale Cluster

How to Resize MongoDB Database Clusters

Change the size of your database cluster to accommodate your data needs.

How to Add Standby Nodes to MongoDB Database Clusters

Add standby nodes to new or existing MongoDB database clusters for high availability.

Manage Cluster

How to Schedule Automatic Software Updates for MongoDB Database Clusters

Customize the maintenance window for automatic software updates to your database cluster.

How to Tag MongoDB Database Clusters

Organize MongoDB databases clusters with tags to group and filter databases or create monitoring alert policies for multiple databases at once.

How to Fork a MongoDB Database Cluster

Fork a MongoDB database cluster to create a new cluster from a point in time or the latest transaction.

How to Manually Restore MongoDB Database Clusters from Backups

Recover from accidental data loss by manually restoring a MongoDB database cluster from backups.

How to Upgrade MongoDB Database Clusters

Upgrade your database to the latest version.

How to Reconfigure MongoDB Database Clusters

Edit your database engine’s configuration and parameters via the API.

How to Destroy MongoDB Database Clusters

Destroy a database cluster to permanently and irreversibly destroy the cluster, its contents, and its automated backups.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.