Introducing Dragonfly Cloud! Learn More

Question: How to delete a MongoDB cluster?


Deleting a MongoDB cluster, particularly when using MongoDB Atlas, can be straightforward but should be approached with caution since it involves permanent data loss. This guide assumes you are managing your clusters via the MongoDB Atlas interface.


  • Ensure you have administrative access to the MongoDB Atlas dashboard.
  • Backup any critical data before proceeding, as deleting the cluster will permanently remove all stored data and configurations.

Steps to Delete a MongoDB Cluster on Atlas

  1. Log in to Your MongoDB Atlas Account: Navigate to MongoDB Atlas and sign in with your credentials.

  2. Select the Project Hosting the Cluster: On the MongoDB Atlas dashboard, projects list your clusters. Click on the project name that contains the cluster you wish to delete.

  3. Navigate to the Clusters Page: Inside the project, you'll find the 'Clusters' tab which lists all the active clusters. Locate the cluster you intend to delete.

  4. Open Cluster Settings: For the specific cluster, look for a '...’ (More Options) button or directly find a 'Settings' option, depending on the UI version. Click it to access the cluster settings.

  5. Delete the Cluster: Within the settings menu, scroll down to find the 'Delete' or 'Terminate' button. There might be different terminologies based on Atlas's version, but they essentially serve to remove the cluster.

  6. Confirm the Deletion: Upon clicking the delete option, you'll typically be asked to confirm the action by typing the name of the cluster or agreeing through a checkbox. This step is a safety measure to prevent accidental deletions.

  7. Finalize Deletion: After confirming, proceed with the deletion. The process might take several minutes, during which the cluster status will indicate its termination progress.


  • Backup: Always ensure you have backups of your data before deletion.
  • Cost Implications: Understand any cost implications or benefits that come from deleting the cluster, especially if operating under a billing agreement.
  • Resource Cleanup: Alongside the cluster, consider reviewing any associated resources or services that might not be automatically deleted, such as user roles, network peering connections, or backup snapshots.


Deleting a MongoDB cluster is irreversible and should be executed with due diligence regarding data backup and operational considerations. Following the outlined steps can help ensure a smooth and deliberate process.

Was this content helpful?

White Paper

Free System Design on AWS E-Book

Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.

Free System Design on AWS E-Book

Start building today 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.