More Info:

This rule checks if Amazon OpenSearch Service domains are configured with at least three data nodes and zoneAwarenessEnabled is true. The rule is NON_COMPLIANT for an OpenSearch domain if ‘instanceCount’ is less than 3 or ‘zoneAwarenessEnabled’ is set to ‘false’.

Risk Level

Medium

Address

Configuration

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the lack of fault tolerance for an OpenSearch data node in AWS, you can follow these steps using the AWS Management Console:

  1. Navigate to Amazon OpenSearch Service Console:

    • Go to the AWS Management Console (https://console.aws.amazon.com).
    • In the “Find services” search bar, type “OpenSearch Service” and click on it to open the OpenSearch dashboard.
  2. Select the OpenSearch Domain:

    • From the list of OpenSearch domains, select the domain for which you want to enable fault tolerance.
  3. Modify the Domain Configuration:

    • In the OpenSearch dashboard, locate and click on the domain name that you want to modify.
    • Click on the “Modify domain” button to update the domain configuration.
  4. Enable Zone Awareness:

    • In the “Configure cluster” section, find the “Enable zone awareness” option and toggle it to enable fault tolerance.
    • Zone awareness ensures that each primary shard has at least one replica in a different Availability Zone.
  5. Select the Number of Availability Zones:

    • Choose the number of Availability Zones you want to distribute your data across. It is recommended to select at least 2 Availability Zones for fault tolerance.
  6. Save the Configuration Changes:

    • Review the other settings and configurations to ensure they are correct.
    • Click on the “Submit” button to save the changes and apply fault tolerance to your OpenSearch domain.
  7. Monitor the Domain:

    • Once the configuration changes are saved, monitor the domain to ensure that the fault tolerance settings are applied correctly.
    • You can check the domain status and cluster health in the OpenSearch dashboard.

By following these steps, you can enable fault tolerance for an OpenSearch data node in AWS, ensuring high availability and resilience to failures in your OpenSearch domain.