Skip to main content

Configure Shard Allocation and Forced Awareness in Elasticsearch

Hands-On Lab


Photo of

Training Architect





With Elasticsearch, you have the potential to scale your cluster to be highly available. To ensure your data survives a full zone or rack failure, you can spread your data across multiple zones and use shard allocation awareness to ensure that all replica shards are allocated to a different zone than that of their primary shard. This allows another level of fault tolerance beyond just node failure. In this hands-on lab, you are given the opportunity to exercise the following:

  • Apply node attributes to each data node in a cluster.
  • Configure shard allocation awareness for a cluster in multiple zones.
  • Test shard allocation awareness behavior by stopping all nodes in a zone.
What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.