Deploy a MongoDB Database on Clouddley
Learn how to deploy a MongoDB database on Clouddley.
Prerequisites
Step-by-step deployment
2
4
Database Dashboard




Conclusion
Last updated

Learn how to deploy a MongoDB database on Clouddley.
With Clouddley, you can easily deploy and manage a MongoDB database, a flexible and scalable NoSQL database designed for handling large volumes of data. This guide walks you through the steps to set up a MongoDB database on Clouddley. Whether you are a beginner or an experienced developer, your database will be up and running quickly.
A Clouddley account
A virtual machine on a Cloud platform or bare metal server.
In the Choose or add server dropdown, select your virtual machine (VM) if it’s already listed. If not, select + Add Virtual Machine.
Enter the required details:
VM Host
Provide the host address of your virtual machine
VM User
Input the username required to access the virtual machine
Port
Specify the port number for the connection
Use the Clouddley CLI (recommended) or connect via SSH to verify.
The Clouddley CLI is a command-line tool that allows you to interact with the Clouddley Platform from your terminal.
Open the command line of the remote VM you want to configure to Clouddley and install Clouddley CLI by running the command:
curl -L https://raw.githubusercontent.com/clouddley/cli/main/install.sh | shTo add the SSH public key, run the command:
clouddley add keyUsing the CLI, you can deploy resources, manage configurations, and automate tasks efficiently.
Download the public key to your local machine.
Run the provided command on your local machine, allowing Clouddley to connect to your virtual machine.
ssh-copy-id -f -i ~/path/to/downloaded/Publickey username@ipaddressReplace ~/path/to/downloaded/Publickey ,username and ipaddress with your actual values.
Click on Verify to validate the details and confirm the connection.
Click on Next to continue the setup process.

Choose MongoDB database
Choose the desired version from the dropdown menu to ensure compatibility with your application.
(Optional) Enable the Delete Protection option to safeguard your MongoDB database from accidental deletion.
This feature prevents the database from being destroyed unless explicitly disabled.
Click on Deploy DB

You can access and manage your database through the user-friendly dashboard.
View details about your database, VM, and settings (e.g., Delete Protection), and use the option to delete the database if it is no longer needed.

Access public and private network details, including username, password, host, port, and database type.

Monitor real-time log streams for troubleshooting and download logs for further analysis.

Manage a list of database users and securely reset passwords as needed.

Clouddley makes database hosting effortless with its scalable, reliable, and user-friendly platform. It simplifies database management so you can focus on your applications. Check out our other articles to learn how to deploy and manage different databases on the Clouddley.
Last updated