On Monday, May 20, 2013 3:16:21 AM UTC-7, Yiftach wrote:
Why do you need to mix public and private IPs ? AFAIK private IPs can be used across all the zone in an AWS region.
I'm dealing with a multi-region scenario in us-east-1 and us-west-1, not simply a multi-AZ scenario in a single region.
One solution would be for redis-sentinel to use domain names instead of IP addresses. Instead if broadcasting "newmaster 10.20.30.40" it would broadcast "newmaster
redis-east1.mydomain.com". This allows mixing public/private IPs, since the same DNS name can resolve to different IPs in different regions. In fact, this is the approach used by mongodb replication.
At present, it looks like there are only 2 options for a multi-region redis-sentinel cluster: public IPs or VPN. But perhaps there are others lurking who can chime in... ?
Dane