Upgrading replica set to sharding

As my scnerio, I have configured 3 member replicas in my test environment. Is it possible to deploy the sharding with my same test up.

Welcome to the community forum @Premkumar_Jayaraman!

Please see the Convert a Replica Set to a Sharded Cluster tutorial in the documentation for your version of MongoDB (the link here is to the latest which is currently MongoDB 4.4).

Regards,
Stennie

1 Like

@Premkumar_Jayaraman At a minimum you will need 3 new nodes to make a config replica set. And somewhere to run at least one mongos.