MongoDB How-Tos

Generated on 7 May 2025

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 Import MongoDB Data

Import or export data with the MongoDB command line tool.

How to Secure MongoDB Managed Database Clusters

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

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.

Cluster Infrastructure

How to Resize MongoDB Database Clusters

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

How to Add Standby Nodes to MongoDB Database Clusters

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

How to Monitor MongoDB Database Cluster Performance

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

How to Forward Logs from a MongoDB Cluster

Forward database logs to OpenSearch or Elasticsearch.

How to Set Up Cluster Monitoring Alerts

Configure alert policies based on database cluster performance metrics.

MongoDB Management

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.

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.

Cluster Management

How to Fork a MongoDB Database Cluster

Fork a database cluster to create a new cluster from an existing cluster based on a specific point in time.

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 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.