阿里、腾讯云elasticsearch试用
一、参考
二、阿里云试用指南
2.1 创建专有网络
注意:可用区需要和ES
集群的可用区相同
2.2 集群配置
2.3 查看集群信息
通过kibana
查看集群信息
GET /
{
"name" : "es-cn-6ja1wurj3003ofbli-013ddf24-0002",
"cluster_name" : "es-cn-6ja1wurj3003ofbli",
"cluster_uuid" : "KZPJb3BWRpuDJtCFW4chNA",
"version" : {
"number" : "7.7.1",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "ad56dce891c901a492bb1ee393f12dfff473a423",
"build_date" : "2020-05-28T16:30:01.040088Z",
"build_snapshot" : false,
"lucene_version" : "8.5.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
GET _cluster/health
{
"cluster_name" : "es-cn-6ja1wurj3003ofbli",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 3,
"active_primary_shards" : 10,
"active_shards" : 20,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
三、腾讯云试用指南
3.1 集群配置
3.2 集群信息
通过kibana
查看集群信息
GET /
{
"name" : "1605152653000014832",
"cluster_name" : "es-0tknudps",
"cluster_uuid" : "AuOkwk2gSom3-w5TuxmeXQ",
"version" : {
"number" : "7.5.1",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "e83b9e7dcbe20086b1cfec4f2f39f89811e51752",
"build_date" : "2020-05-07T13:25:04.250829300Z",
"build_snapshot" : false,
"lucene_version" : "8.3.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
GET _cluster/health
{
"cluster_name" : "es-0tknudps",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 2,
"active_primary_shards" : 9,
"active_shards" : 18,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}