How to shard a collection in MongoDB Atlas GUI

Hi,
I am looking for steps to setup and test a sharded colleciton in MongoDB Atlas but not able to find the correct steps. It seems it needs to be done using a mix of GUI and command options. The steps mentioned on this page are not correct.

Click the Global Writes tab.z

Can anyone help with the steps to shard a collection. Not using the command line but from Atlas console.
Thanks!

Hi @Juned_Ahsan,

The steps presented with GUI are only relevant if you deployed a “Global Sharded Cluster” and not just any sharded cluster.

If you have a standard 1 region Sharded Cluster you need to use the mongo shell to shard collections:
https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#sh.shardCollection

Best regards
Pavel

Thanks Pavel. Any plans to bring those features on GUI?

Hi @Juned_Ahsan,

Not sure if this will become available anytime soon.

Please raise your interest on https://feedback.mongodb.com

Thanks!