Spreading MongoDB across EC2 regions

前端 未结 5 1412
孤城傲影
孤城傲影 2021-02-03 13:15

I want to distribute a sharded/replicated MongoDB setup across multiple of Amazon\'s EC2 regions. Is this traffic already encrypted by MongoDB or can I optionally set this up? O

5条回答
  •  猫巷女王i
    2021-02-03 13:56

    According to [mongo docs] it's possible for mongo to use SSL. One would either have to compile mongo with --ssl flag or use commercial edition. With SSL-enabled mongo all communication between the DB and client, as well as communication between replica sets and arbiter is secured (see faq).

    Has anyone actually tried this approach? Are there any drawbacks?

提交回复
热议问题