Sharding using Atlas

can i shard a cluster using Atlas?
i am using node js driver to connect to my cluster in Atlas but actually i need to make a sharded DB for my application. Is there is a way of doing so?

Hi @Merna_Khaled,

can i shard a cluster using Atlas?

Certainly. Check out the Deploy a Sharded Cluster documentation which should provide you with the details on how to do this :slight_smile: . The option to shard your cluster is available in the additional settings menu in the configuration page of your cluster.

One thing to note is you cannot convert a sharded cluster deployment to a replica set deployment.

Hope this helps.
Jason

1 Like

Hi Jason,
thanks for help!
i could see now that i do can make a sharded cluster in Atlas but it is not free and actually i need it for a school project. so the point is, Is there any free alternative solution?
i cannot see any solution except making the DB locally using mongoshell and then use Docker
please if there is a more convenient solution,tell me

Hi Merna,

Thanks for providing further context here.

so the point is, Is there any free alternative solution?

The free tier cluster in Atlas does not have the capability to enable shard as enabling sharding / deploying a sharded cluster requires M30 tier and higher.

Regards,
Jason