Deploying a Replica Set

In this chapter, you will learn how to deploy a replica set. Initially, the focus of this chapter is the bigger picture: what a replica set is, how it works, and why use it. In the first section, you are given information to assist in developing a business rationale for deploying a replica set. Following that, you are shown how to use Docker to model a replica set for testing and development purposes. The remainder of the chapter focuses on configuration and deployment.

In this chapter, we will cover the following topics:

  • Replication overview
  • Using Docker to model a replica set
  • Configuring replica set members
  • Deploying a replica set

Technical requirements

The minimum recommended hardware is as follows:

  • A desktop ...

Get Learn MongoDB 4.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.