Ensure that cross-zone replication (Zone Awareness) is enabled for your Amazon OpenSearch clusters to increase the cluster availability by allocating new data nodes and replicating the data across two or three Availability Zones (AZs) in the same AWS region in order to prevent data loss and minimize downtime in the event of node or data center (AZ) failure.
This rule can help you with the following compliance standards:
- NIST4
For further details on compliance standards supported by TrendAI Vision One™ Cloud Risk Management, see here.
This rule can help you work with the AWS Well-Architected Framework.
Amazon OpenSearch Zone Awareness promotes fault tolerance by distributing your OpenSearch cluster data nodes across multiple Availability Zones within the same AWS region.
Note: Once the Amazon OpenSearch cross-zone replication is enabled, you can use the native OpenSearch API to replicate the data for your clusters by creating replica shards.
Audit
To determine if cross-zone replication is enabled for your Amazon OpenSearch clusters, perform the following actions:
Remediation / Resolution
To enable cross-zone replication (Zone Awareness) for your Amazon OpenSearch clusters, perform the following actions:
References
- AWS Documentation
- Amazon OpenSearch Service FAQs
- Configuring a multi-AZ domain in Amazon OpenSearch Service
- What is Amazon OpenSearch Service?
- Creating and managing Amazon OpenSearch Service domains
- AWS Command Line Interface (CLI) Documentation
- es
- list-domain-names
- describe-elasticsearch-domain
- update-elasticsearch-domain-config
- CloudFormation Documentation
- Amazon OpenSearch Service (successor to Amazon Elasticsearch Service) resource type reference
- Terraform Documentation
- AWS Provider