Elasticsearch domains should use at least three data nodes

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

This control checks whether Elasticsearch domains have at least three data nodes and ensures the zoneAwarenessEnabled setting is activated. To achieve high availability and fault tolerance, an Elasticsearch domain should be configured with at least three data nodes. This ensures that the cluster can continue to function even if one node fails.

Remediation

To modify the number of data nodes in an Elasticsearch domain:

  1. Log in to the Amazon OpenSearch Service console.
  2. Under Domains, choose the name of the domain you want to edit.
  3. Click Edit domain.
  4. Under Data nodes, set Number of nodes to a number greater than or equal to 3.
  5. For three Availability Zone deployments, set to a multiple of three to ensure equal distribution across Availability Zones.
  6. Click Submit.
PREVIEWING: may/unit-testing