Install MongoDB on Amazon Linux | MongoDB

MongoDB is an open-source, cross platform, highly scalable and flexible database. The main key feature is on the MongoDB which goes with NoSQL, therefore the data can be stored as documents or the collections, Those collections can be restored as JSON format as well. Therefore MongoDB is a using mostly in enterprise level environments.
Installation of MongoDB is straight forward, and this tutorial describes about the

  1. Log in to the AWS console, provision an EC2 instance with Amazon AMI.
  2. Update the yum.repo.d/mongoDB-v4.0.repo file for download the v4.0 in MongoDB.
    [mongodb-org-4.0]
    name=MongoDB Repository
    baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/4.0/x86_64/
    gpgcheck=1
    enabled=1
    gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
  3. To update update yum repo in the servers issue the following command.Read More »
Advertisements