


#Mongodb compass linux how to#
Step 2: How to Install MongoDB on Amazon Linux 2 Step 1: Configure the package management system (yum)Ĭreate a /etc//mongodb-org-5.0.repo file so that you can install MongoDB directly : sudo nano /etc//mongodb-org-5.0.repoĪnd add this below lines in this directory To install latest MongoDB and specific MongoDB visit MongoDB official download page connect to terminal How to Install MongoDB on Amazon Linux 2 Then in Use private key you need to give the path of your key pair that we have created. So you can see in this image firstly click on session then SSH then in Remote host paste the ip_address then in username you can specify only ec2-user for Amazon Linux 2.

So now here im using MobaXterm to connect terminal so copy the ip_address of your instance connect to your terminal Then after click on launch there is pop up select an existing key pair or create a key pair so if have already a key pair then select a key pair otherwise create a key pair launch instance Step 7 : Here review once its correct or not then click on launch. Step 6 : So here select “ Select an existing security group” then select “ default” conf security grp Step 5: Here you can give any meaning full name to your instance. Step 4: Here they give us 8 GiB free space. Here you can specify the number of instances you want. Step 2: Choose an Instance type so if you want another instance you can select as per your choice. Step 1: Go to Ec2 instance then click on launch instance then select Amazon Linux 2 launch instance AMI How to create Amazon Linux 2 EC2 Instance in AWS In this article we are going to cover How to Install MongoDB on Amazon Linux 2 and Connect MongoDB using compass.
