ElasticSearch Zone Awareness in AWS


I have set a Four Node ElasticSearch cluster up in AWS with the following config in order to ensure that replica shards are stored on the alternate AWS Availability zone in case of Network Partitioning or DR.

cloud.aws.region: "xx-southeast-1"
node.zone: "xx-southeast-1a"
cluster.routing.allocation.awareness.attributes: "zone"

Two things I need to validate:

  1. Does the above config look correct, and would this result in Replica Shards existing on the Nodes in xx-southeast-1b AZ?

  2. What command can I run to validate the the replica shards are indeed replicated to the secondard Availability Zone in AWS?

Thanks in advance.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.