The Mongodb Community Edition is a great NoSQL solution. Below you can
find directions and links to install it from a repository as well as from a Preinstalled Ec2 Server
Configure the package management system (yum).
Create a /etc/yum.repos.d/mongodb-org-3.4.repo file so that you can install MongoDB directly, using yum.
Changed in version 3.0: MongoDB Linux packages are in a new repository beginning with 3.0.
For the latest stable release of MongoDB
Use the following repository file:
For versions of MongoDB earlier than 3.0
To install the packages from an earlier release series, such as 2.4 or 2.6, you can specify the release series in the repository configuration. For example, to restrict your system to the 2.6 release series, create a /etc/yum.repos.d/mongodb-org-2.6.repo file to hold the following configuration information for the MongoDB 2.6 repository:
Configure the package management system (yum). Create a /etc/yum.repos.d/mongodb-org-3.4.repo file so that you can install MongoDB directly, using yum. Changed in version 3.0: MongoDB Linux packages are in a new repository beginning with 3.0. For the latest stable release of MongoDB Use the following repository file:
Easy to Learn
MongoDB is easy to learn and quick to start with. The basic installation, setup, and execution doesn’t take more than a few hours. The more robust setup might be complex, but I will talk about it later.
MongoDB Community Edition user WiredTiger for Storage management
The WiredTiger storage engine brings document level locking to MongoDB, meaning that writes no longer block a collection or database. While MMAP in 3.0 brought collection level locking, multiple writes to the same collection will still cause the writes to be applied serially and can starve reads from the collection as reads have to wait for the writes to finish. WiredTiger gets rid of the limitation allowing multiple writes to happen concurrently against the same collection. This means that writes and reads scale with the CPU, whereas in MMAP there was a low ceiling for CPU scaling as the locks reduced the throughput.
Another feature WiredTiger introduces, is on-disk compression supporting
zlib. This allows the user to trade off CPU usage, for higher data compression.
Having a good documentation can make developers’ lives a lot easier, especially when the developer is new to the technology. MongoDB has superb documentation.
Flexible Data Model
In today’s dynamic use cases and ever-changing applications, having a flexible data model is a boon. MongoDB Community Edition is a flexible data model means that there is no predefined schema, and the document can hold any set of values based on any key.