I am currently trying to determine the best way to implement across region replica set for Mongodb in AWS. My 3 replica set would be distributed over multiple regions, not just multiple availability zones. For example, the primary would be in east coast, and secondaries would be on west coast and canada.
My question is how to best handle the IP addressing for setting up such a distributed replica set across geographic regions in AWS. It works with public IP addresses across regions, but I want to secure with private IPs. Is it possible to use private IPs?