After you create an Alibaba Cloud Elasticsearch cluster, you can configure the cluster to improve search efficiency and service security.

Enable auto indexing

  • The auto indexing feature is only available for Elasticsearch clusters of versions earlier than V7.0.
  • The auto indexing feature is designed for testing purposes. We recommend that you do not enable this feature in production environments.
  • Before you upload a document to an Elasticsearch cluster, you must manually create indexes and mappings for the document. If you do not create both indexes and mappings, errors may occur. For example, if you delete the mappings for a document and then upload another document that does not have any mappings, the auto indexing feature creates mappings for both documents. The created mappings may not be suitable for your application. To avoid mapping errors, the auto indexing feature is disabled by default.
  • After you enable the auto indexing feature, the system restarts your Elasticsearch cluster. Therefore, before you enable this feature, make sure that the restart does not affect your services.

If you must use the auto indexing feature, follow these steps to enable this feature:

  1. Log on to the Alibaba Cloud Elasticsearch console.
  2. In the top navigation bar, select the region where your Alibaba Cloud Elasticsearch cluster resides.
  3. Find the target cluster and click its ID.
  4. In the left-side navigation pane of the page that appears, click Cluster Configuration.
  5. On the Cluster Configuration page, click Modify Configuration on the right side of YML Configuration.
  6. In the YML Configuration pane, set Auto Indexing to Enable.
  7. Select This operation will restart the cluster. Continue? and click OK.
    The system then restarts the Elasticsearch cluster. After the cluster is restarted, the auto indexing feature is enabled.

Configure plug-ins

On the Plug-ins page, you can install or remove built-in plug-ins, use the standard or rolling update method to update the IK analyzer plug-in, or upload custom plug-ins. For more information, see Configure built-in plug-ins and Configure custom plug-ins.

Configure security settings

On the Security page, you can reset the password that is used to access your Elasticsearch cluster, configure a Virtual Private Cloud (VPC) whitelist, and enable the Public Network Access feature. You can also configure a public IP address whitelist, enable HTTPS, or configure cluster interconnection. For more information, see Security.

Configure monitoring and alerting settings

Alibaba Cloud Elasticsearch can monitor the following metrics of Elasticsearch clusters and send SMS messages to alert users. You can customize alert thresholds for the metrics. For more information, see Configure Elasticsearch alerts in CloudMonitor.
  • ClusterStatus
  • ClusterQueryQPS(Count/Second)
  • ClusterIndexQPS(Count/Second)
  • NodeCPUUtilization(%)
  • NodeDiskUtilization(%)
  • NodeHeapMemoryUtilization(%)
  • NodeLoad_1m