ElasticSearch Version: 7.17.15
Kibana Version: 7.17.15
Hi, I'm trying to configure the awareness to try to reduce the AWS data transfer cost, but that isn't working. I configured the node.att.zone
in each data node using as value the availability zone where the node is located, and in each master node I configured the cluster.routing.allocation.awareness.attributes
as zone. The issue is when I increase or decrease the number of replica of the index, in the most case the ELK use an instance in other availability zone. I tried use
cluster.routing.allocation.awareness.force.zone.values
, but didn't work too. If someone here can help me, I appreciate.
Data node awareness configuration in elasticsearch.yaml
cluster.routing.allocation.awareness.force.zone.values: cluster_aws_zones
node.attr.zone: date_node_availability_zone
Master node awareness configuration in elasticsearch.yaml
cluster.routing.allocation.awareness.attributes: zone
cluster.routing.allocation.awareness.force.zone.values: cluster_aws_zones