Disabling MongoDB

If you don't plan on using any of the Mongo based modules, like core.data or core.mongo you can reclaim some memory and resources for your system.

To disable MongoDB, you will need to log in as the root user (ubuntu on EC2) and run the following on the command line:

sudo mongo-enabled false

This will stop the MongoDB service from running. The server will automatically reboot after issuing this command.

In the future, if you decide you need MongoDB, log in as the root user (ubuntu on EC2), and run:

sudo mongo-enabled true