I want to set up a 3-instance sentinel cluster in AWS and then have a master and standby redis instance controlled by the sentinel cluster. The question is how to deal with DHCP in an AWS VPC. Since the redis and sentinel cluster have to know where to look for each other, it seems to me there is no way to get around assigning static IPs to all of the instances.
Am I assuming correctly or is there a way to create a sentinel/redis cluster without static IPs?
If that's the case and I have to assign static IPs to the instances, there's a risk that the IP will be taken by another instance in the VPC and therefore the launching of the instance will fail. Does anyone know if there's a way around that problem?