Minimum number of server needed to create sharded cluster

Hi Team,

I need to create two node sharded cluster, how many server i need to launch to configure this set up.


A 2 shards cluster needs at least 9 servers but my preferred setup is 10.

You need 2 replica sets of 3 nodes for the 2 shards.

You need 1 replica sets of 3 nodes for the configuration server.

That’s 9 nodes so far. The 10th node would be to run mongos. You could run mongos on any other nodes but I feel it is better to do it on a separate one.

1 Like