pelias / terraform-elasticsearch

Terraform scripts for running an Elasticsearch cluster
10 stars 6 forks source link

Support availability zone shard allocation awareness #5

Closed orangejulius closed 5 years ago

orangejulius commented 5 years ago

It's possible for an Elasticsearch cluster spread across multiple availability zones, and with sufficient replicas, to still be vulnerable to problems if an entire availability zone failed.

This could happen if the a replica and primary shard are in the same availability zone, but different instances.

Elasticsearch has a built in way to handle this: allocation awareness