we have a cluster made of 5 nodes. 3 of them are used for data and 2 of them are used for index and query services.
Each group of nodes are deployed into an AWS Autoscaling Group. We have 2 autoscaling groups.
The problem that AWS Autoscaling groups presents, is that nodes from Autoscaling group have not any fixed IPs.
That issue make not possible to assign automatically any DNS entry to the nodes IPs (just because, the IPs from the nodes are ephemeral). Because of that, we thought about setting a load balancer between the application and the cluster.
AFAIK we cannot put a load balancer between the application and the cluster, but it seems that there is not any possibility to set dinamically the DNS entries to the new IPs for the nodes that enter to make part of the cluster.
So my questions are:
- In this specific case, Could we set a load balancer between our Autoscaling group and our application?
- In case we cannot have a load balancer, Is there any solution to dinamically set DNS entries to the new IPs from the nodes that the cluster is made of?
- Which is the best solution to integrate a couchbase cluster into an AWS Autoscaling group?
Thanks in advance,