Setup a 3 Node Replica-Set MongoDB Cluster to showcase data durability on Civo Cloud
MongoDB
A collection of 10 posts
Create Read Only Users in MongoDB
In this post I will demonstrate how to setup 2 read only users in MongoDB. One user that will have access to one MongoDB Database and all the Collections, and one user with access to one MongoDB Database and only…
MongoDB Examples with the Mongo Shell
In this post we will go through some basic examples on how to write, read, update and delete data with MongoDB using the Mongo Shell. Pre-Requisites: You will need to have a running MongoDB Server, you can follow this post…
Backup and Restore Mutliple Collections From a Database With MongoDB
From a previous post we've Setup a 3 Node MongoDB Replica Set Cluster, and in this post we will go through the steps of backing up a database and restoring it to another mongodb cluster. MLab offers a free Shared…
Setup a 3 Node MongoDB Replica Set on Ubuntu 16
Today we will setup a 3 Node Replica Set for MongoDB on Ubuntu 16. A Replica Set is a form of data replication, so that your data resides on more than one node for data durability. We will setup the…
How to Setup MongoDB Server on Ubuntu and Enable Authentication
Introduction: Today we will setup a Single Instance of MongoDB Server on Ubuntu and will be using Ubuntu 16.04 for this tutorial. What is MongoDB? MongoDB is one of the NoSQL types of Databases, which is designed as shema-less…
Ingest MongoDB Items into Elasticsearch
I was working on a personal project where I needed some way to to save URL's / Bookmarks of websites that I come across that I would like to reference at a later time. I eventually decided to develop a web…
Generate Random Data for MongoDb
a Python script to generate random data to MongoDb using the Faker library for Python. I will include some of my scripts for Elasticsearch, DynamoDB and CSV at the bottom of this post. Dependencies: $ pip install pymongo $ pip install fake-factory…