---

create secure mongodb replica-set in ec2 ubuntu instances

Installation and configuration of MongoDB is relatively very easy. There are different ways you can run MongoDB, be it running single server, master-slave, replica-set or running in sharded/cluster way. By default, MongoDB installation doesn’t provide secure environment where clients should authenticate themselves before accessing database. The articles describes steps to enable authentication for clients as well as make entire replica-set secure.