Cloud options for a replica set
We can set up and operate a replica set from our own servers but we can reduce our operational overhead by using a database as a service (DBaaS) provider to do it. The two most widely used MongoDB cloud providers are mLab (former MongoLab) and MongoDB Atlas, the native offering from MongoDB Inc.
In this section, we will go over these options and how they fare against using our own hardware and data centers.
mLab
mLab is one of the most popular cloud DBaaS providers for MongoDB. It has been offered since 2011 and is considered a stable and mature provider.
After signing up, we can easily deploy a replica set cluster in a set of cloud servers without any operational overhead. Configuration options include AWS, Microsoft Azure, or Google Cloud as the underlying server provider.
There are multiple sizing options for the latest MongoDB version. There is no support at the time of writing for the MMAPv1 storage engine.
There are multiple regions for each provider (US,...