Hello, thank you for this good question.
The structure you will set up will work and there will be no problem. However, I have suggestions for you.
1. Node-to-node TCP connections must be open. For security reasons, you should assign Static IP to your instances and it should be configured to respond to requests from those IP addresses only, so you will not have any problems with opening TCP ports.
2. Likewise, for 27017 MongoDB, you need to open this port to node Public IPs.
If you have more questions, please don't hesitate to contact me
19 Ocak 2022 Çarşamba tarihinde saat 12:50:42 UTC+3 itibarıyla Konrad Piwowar şunları yazdı: