How To Install MongoDB

How To Install MongoDB

How To Install MongoDB

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In this blog post, we will discuss how to install MongoDB in different operating systems on Cloud platforms like AWS, GCP, or Azure. MongoDB installation process changes based on OS and not Cloud service providers. Hence the installation process given for one Cloud service provider for a particular OS will also work in other cloud service providers.

What Is MongoDB:

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License (SSPL).

How To Install MongoDB On AWS EC2 Instance With RHEL or CentOS or Oracle Linux Version 7 AMI:

Step 1: Create an EC2 instance with any RHEL based AMI.

Step 2: Connect to your EC2 instance and update the OS packages.

Step 3: Install MongoDB On AWS EC2 Instance.

How To Install MongoDB On Google Compute Engine VM Instance With Ubuntu 18 Image:

Step 1: Create a Google Compute Engine VM instance with Ubuntu 18 Image.

Step 2: Connect to your Compute Engine VM instance.

Step 3: Install MongoDB On Google Compute Engine VM Instance.

How To Install MongoDB On Azure VM Instance With Windows Server 2012 R2 Image.

Step 1: Create An Azure VM Instance With Windows Server 2012 R2 Image.

Step 2: Log in to your Azure VM Instance And Download MongoDB Version 10 using the below link.

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi

Step 3: Double click on the downloaded installer package and click “Run”.

Step 4: Follow the installation wizard and complete the installation.

Step 5: Open your mongo shell.

How To Install MongoDB On Alibaba Cloud ECS Instance With Debian Image:

Step 1: Create an Alibaba Cloud EC2 instance with Debian 10 Image.

Step 2: Connect to your ECS instance.

Step 3: Install MongoDB On Alibaba Cloud ECS Instance.

Hope you have enjoyed this blog post. Please refer to MongoDB documentation for more detail.

https://docs.mongodb.com/manual/installation/

 

This Post Has One Comment

Leave a Reply

Close Menu