Mongodb on Docker or Ubuntu host

Hi Team,
We are in planning to deploy mongodb cluster in gcp.
For reason above my paygrade, we aren’t using mongodb atlas.

My question is, which is better, deploying mongodb on ubuntu as processes ( 3 ubuntu hosts) or say 3 containers of mongodb on docker. Any guide where such difference is mentioned already or if anyone has any input on this will be highly appreciated.

Thanks

Hello @Mayank_Kumar2 ,

Welcome to the MongoDB community forum!! :wave:

Technically from MongoDB’s perspective, as long as it has enough resources to do the workload, it matters little where it is deployed (bare metal or docker instances). It’s more up to your operational requirements than MongoDB’s own requirements. Regarding MongoDB’s operational requirements, please follow the recommendations in the following pages:

Let us know if you have any further questions.

Thanks,
Tarun Gaur

1 Like