Alibaba Cloud Elasticsearch (ES) serves search and analysis workloads that require complex query engines or massive big data sets. This topic describes how to create an ES cluster in the console.
Billing
The prices and billable items of Alibaba Cloud ES are described in billing rules.
Procedure
This topic uses the Alibaba Cloud Elasticsearch console as an example. To create an ES cluster by calling an API operation, see createInstance.
-
Log on to the Alibaba Cloud Elasticsearch console.
-
In the left navigation menu, choose Elasticsearch Clusters.
-
On the Elasticsearch Clusters page, click Create in the upper-left corner.
Parameter
Description
Product Type
-
Subscription: Recommended when you use an ES cluster for a long period. You pay once, and the price is lower than that of pay-as-you-go.
-
Pay-as-you-go: Suited to short-term scenarios such as program development and feature testing. You are billed by the hour and can release the cluster at any time to stop the charges. You can create a pay-as-you-go cluster first and switch it to subscription after it meets your requirements.
Regions and Zones
Select a region based on your business needs. The region cannot be changed after the cluster is created:
-
The closer the region is to your users, the lower the network latency and the faster the access speed.
-
If the ES cluster must communicate with other Alibaba Cloud services over an internal network, deploy them in the same region.
Number of Zones
-
1-AZ: A standard deployment mode suited to non-critical workloads.
-
2-AZ: A cross-zone disaster recovery deployment mode suited to production workloads.
-
3-AZ (default): A high availability (HA) deployment mode suited to production workloads that have higher availability requirements.
After you select two or three zones, the page displays the Zone 2 and Zone 3 configuration items. The default value is Random, which lets the system assign the zones automatically. You can also specify them manually. For more information, see Deploy and use a multi-zone cluster.
Network Type
Only Virtual Private Cloud (VPC) is supported.
VPC
Select a VPC in the selected region:
-
If the ES cluster must communicate with other Alibaba Cloud services over an internal network, deploy them in the same VPC.
-
If no VPC meets your business needs, create one first by following Create a VPC and a vSwitch.
Virtual Switch
Only the vSwitches that reside in the specified VPC and in the same zone as the ES cluster are displayed. If no vSwitch meets your business needs, create one first by following Create a VPC and a vSwitch.
Cluster Type
-
Engine-enhanced edition: 100% compatible with open-source Elasticsearch and provides enterprise features such as X-Pack free of charge. It is optimized for search, logging, and AI scenarios, and you can enable its enhanced capabilities on demand. The cloud-native control mode improves change efficiency, and the intelligent O&M ES Agent is ready to use out of the box.
-
Standard Edition: 100% compatible with open-source Elasticsearch and provides enterprise features such as X-Pack free of charge. It covers multiple ES versions from 5.x to 9.x. The cloud-native control mode improves change efficiency, and the intelligent O&M ES Agent is ready to use out of the box. For more information, see Version features comparison and AliES kernel-enhanced edition.
Elasticsearch Version
-
Engine-enhanced edition: Supports versions 9.4.0, 8.17.0, 8.15.1, 7.16.2, 7.10.0, and 6.7.0.
-
Standard Edition: Supports versions 9.3.2, 8.13.4, 8.9.1, 8.5.1, 7.7.1, 6.8.23, 6.3.2, 5.6.16, and 5.5.3. Compare the supported features of each version in Version features comparison and Release Note. The regions and zones that each version supports may differ. The purchase page displays the available options.
Deployment Mode
-
cloud-native new control mode: The deployment mode that the current purchase page provides. It supports a wide range of cluster types and versions, provides out-of-the-box AI capabilities, and significantly improves cluster O&M efficiency in areas such as scaling, monitoring, and alerting.
OpenStore storage-compute disaggregation (high-performance search scenario)
A storage-compute disaggregation architecture. Storage is billed based on the actual usage, and scaling nodes does not require migrating the underlying data. The default value is Disabled.
Specifications
Node configuration
Click each node section and configure the nodes based on your business needs.
-
Select node specifications based on the guidance in Capacity assessment.
-
Configure each node type as described in Node configurations for an Elasticsearch cluster.
-
Click Reset to Default in the lower-right corner of the section to restore the modified node configurations to the default configurations.
-
On the international site, a data node does not provide the node specification family option, and the node sections do not include Elastic Node.
Resource Group
Resource groups let you manage ES clusters in groups. For details, see Resource groups and authorization.
Cluster Name
If you leave this parameter empty, the system generates a name automatically. You can change the cluster name on the basic information page after the cluster is created.
Username
The default account is
elasticand cannot be changed. This account holds the super administrator (Superuser) role of the cluster and is used to access the ES cluster and to log on to the Kibana console.ImportantA change to the password of the
elasticaccount takes effect immediately and interrupts all existing connections that use this account because of authentication failures. If the password is hard-coded in your business applications, the service may become unavailable.For security reasons, the principle of least privilege prohibits using the
elasticaccount directly in the code or applications of your production business. Create roles and common users that have specific permission scopes in the Kibana console for business use, as described in Manage user permissions with X-Pack roles.Password
The password of the
elasticaccount. This parameter cannot be empty.Subscription Duration
You must select a subscription duration when the product type is subscription. We recommend that you enable Auto-renewal to prevent the cluster from being stopped or released after the resources expire.
-
If auto-renewal is enabled for a monthly subscription, the Unified Auto Renewal Cycle is one month.
-
If auto-renewal is enabled for a yearly subscription, the Unified Auto Renewal Cycle is one year.
-
The selectable durations are one month, one year, two years, and three years.
-
-
Click Buy Now to go to the Confirm Order page. Confirm that the cluster configuration is correct, and then click Activate.
NoteIn pay-as-you-go mode, the button text is Create Now.
-
On the Elasticsearch Clusters page, select the region where you created the cluster in the top menu bar, and then view the created ES cluster in the cluster list.
After the cluster is created, it takes some time to take effect. The duration depends on the cluster specifications, the data structure, and the data size. You can view the instance status in the Status column.
What to do next
-
View the basic information about the cluster, such as the private endpoint, the running status, and the node information, in View cluster status and node information.
-
Access the ES cluster in one of the ways described in Connect to a cluster.
-
Migrate data from other services or collect data into ES as described in Best practices overview.
-
If your application requires an account and a password for the ES cluster, create roles and users that have the required permissions in the Kibana console, as described in Manage user permissions with X-Pack roles.
-
Modify a scenario-specific configuration template to optimize the cluster and index configurations and to reduce the cluster exceptions and performance issues that improper configurations cause, as described in Modify a scenario-specific configuration template.
-
After you purchase cold data nodes, use index lifecycle management to maintain hot and cold data automatically and separate hot data from cold data, as described in Use index lifecycle management to manage Heartbeat data.
-
After the cluster is created, scale the cluster up or down to adjust configurations such as the node specifications and the capacity, as described in Scale up a cluster and Scale down a cluster.