From 4716bf4832138f1d5b79d1dec24cdb5695515802 Mon Sep 17 00:00:00 2001 From: Shahbaz Nazir Date: Thu, 30 Aug 2018 13:38:02 +0200 Subject: [PATCH] Add documents for hosted mongodb deployments Signed-off-by: Shahbaz Nazir --- .../source/production-nodes/node-requirements.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/server/source/production-nodes/node-requirements.md b/docs/server/source/production-nodes/node-requirements.md index a9daaaf9..1a2a883e 100644 --- a/docs/server/source/production-nodes/node-requirements.md +++ b/docs/server/source/production-nodes/node-requirements.md @@ -14,6 +14,19 @@ BigchainDB Server requires Python 3.5+ and Python 3.5+ [will run on any modern O _Don't use macOS_ (formerly OS X, formerly Mac OS X), because it's not a server-grade operating system. Also, BigchaindB Server uses the Python multiprocessing package and [some functionality in the multiprocessing package doesn't work on Mac OS X](https://docs.python.org/3.6/library/multiprocessing.html#multiprocessing.Queue.qsize). +## Using Hosted MongoDB + +If you are using already existing MongoDB deployment or hosted MongoDB service (e.g. MongoDB Atlas) you should create a new database (e.g. `bigchain`) and create a user with `readWrite` access. You can perform above steps through MongoDB shell as follows: + +Login to your MongoDB deployment as Admin and run following commands + +``` +use +db.createUser({user: "", pwd: "", roles: [{role: "readWrite", db: ""}]}) +``` + +Now configure the details of your database and newly created user in your BigchainDB configs before starting BigchainDB + ## General Considerations BigchainDB Server runs many concurrent processes, so more RAM and more CPU cores is better.