High reliability

Updated at:

Alibaba Cloud Elasticsearch (ES) provides high reliability for your cluster. ES protects your data through scheduled automatic backups and through on-demand snapshots that you can store and restore. It also distributes request traffic evenly across data nodes.

Automatic snapshot backup and restoration

  • Automatic backupES clusters support automatic data snapshot backup, a managed and scheduled mechanism for recovering recent data within the originating cluster. You can enable automatic backup on the Data Backup page in the ES console and set a backup cycle based on your business requirements. ES then backs up data snapshots at a scheduled time each day. For more information, see Data backup.

  • Restore data from automatic snapshotsAfter a snapshot backup succeeds, you can restore specified snapshot data based on your business requirements. For more information, see Automatic backup and restoration.

Note
  • Automatic backup retains snapshot data from only the most recent three days.

  • Snapshots created by automatic backup can be restored only to the ES cluster where they were created.

Snapshot storage and restoration in OSS

  • Store snapshotsSnapshot storage is a manual mechanism that saves snapshot data from the current cluster to Object Storage Service (OSS). Unlike automatic backup, snapshots stored in OSS can be restored to a different ES cluster in the same region. To store snapshots, you must purchase an OSS bucket in the same region as the ES cluster. You can then manually run a create snapshot command to take snapshots of specified index data. For more information, see Manual backup and restoration.

Note

Snapshot storage supports only OSS buckets of the Standard storage class. The Archive storage class is not supported.

  • Restore data from snapshotsAfter a snapshot is stored in OSS, you can manually run a restore snapshot command to restore the corresponding index data. For more information, see Manual backup and restoration.

Note
  • The snapshot restore feature supports restoring snapshot data stored in an OSS bucket to a different ES cluster in the same region.

  • By default, each ES data node has a data processing capacity of 40 MB per second. You can change the value of the max_restore_bytes_per_sec parameter to adjust the data processing capacity of a node. For details, see the official Elasticsearch Snapshot and restore document.

Load balancing

ES clusters provide load balancing. In your application, you access the ES service through the cluster's internal endpoint or public endpoint. Requests are then distributed evenly across the data nodes.

Important

Load balancing across the data nodes in an ES cluster depends on the allocation design of index shards. When you create indexes, allocate and design index shards properly. For more information, see Shard evaluation.