How can install MongoDB on AWS?

0 votes
In simple words I need to set some services on AWS. My concern is NodeJS and MongoDB. I would like to set up an autoscaling group and load balancer. So where should my MongoDB instance reside. Can someone help me with a walk through for this installation.
Apr 18, 2018 in Cloud Computing by hemant
• 5,750 points
32 views

1 answer to this question.

0 votes

Installing MongoDB

Run these commands individually from the command line to install MongoDB.

Import public key for package system:

1

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
Create list file for apt:

1

echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntuxenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
Reload package system:
1
sudo apt update

Install MongoDB package:

1
sudo apt-get install -y mongodb-org
answered Aug 13, 2018 by bug_seeker
• 15,350 points

Related Questions In Cloud Computing

+3 votes
3 answers

Is there a way to install apache drill on an EMR cluster on AWS that is already Running?

It looks to be trying to get ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,750 points
292 views
0 votes
2 answers

How can I route request to EC2 instance behind AWS ELB?

You can have a look at the ...READ MORE

answered Aug 17, 2018 in Cloud Computing by Priyaj
• 56,520 points
103 views
0 votes
1 answer

Can we host website on AWS EFS

You can host a website on a ...READ MORE

answered May 3, 2018 in Cloud Computing by DragonLord999
• 8,380 points
40 views
0 votes
1 answer

Can Java Enterprise Edition applications on AWS EC2

It would be good if you start ...READ MORE

answered May 15, 2018 in Cloud Computing by Meci Matt
• 9,420 points
107 views
0 votes
1 answer

AWS: Can we Disable Redis Instance Swap on ElastiCache

Is it because you are having trouble ...READ MORE

answered May 29, 2018 in Cloud Computing by Meci Matt
• 9,420 points
136 views
0 votes
1 answer

AWS: Can anyone tell me how do I build an AMI?

Building of an AMI can be initiated ...READ MORE

answered Jul 13, 2018 in Cloud Computing by Meci Matt
• 9,420 points
17 views
0 votes
1 answer

How do secure data on cloud or cloud platforms like AWS?

The most efficient way of securing data ...READ MORE

answered Jul 17, 2018 in Cloud Computing by DragonLord999
• 8,380 points
16 views
0 votes
1 answer

AWS: How can you connect to an EC2 Linux instance using Putty?

1. Select your instance in the EC2 ...READ MORE

answered Aug 6, 2018 in Cloud Computing by Meci Matt
• 9,420 points
49 views
+1 vote
3 answers

How to upload files on aws elastic beanstalk?

yes once you store it in (AWS) ...READ MORE

answered Sep 3, 2018 in Cloud Computing by bug_seeker
• 15,350 points
888 views
+4 votes
5 answers

How to do parallel uploads to the same s3 bucket directory with s3cmd?

Is your problem is not with the ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,750 points
419 views