So, MongoDB presented us with two problems:
- When sharding it, we can’t even use the basic security that it supports.
- The basic security that it offers is not reasonable for allowing external servers to connect to MongoDB.
Let’s just review:
you have this sharding setup:
on top of that add some Nginx
- switch from using a binary protocol to HTTP
Doesn’t sound easy or out of the box anymore.