Elastic Cloud方式创建ES集群

搭建Elasticsearch有多种方式,例如:

  1. 通过Elastic Cloud部署
  2. 在mac/windows上安装
  3. 使用docker安装

本节我们介绍使用Elastic Cloud搭建Elasticsearch,这种方式最简单,适合新手学习。

登录 https://www.elastic.co/cloud/ ,点击Start free trial:

image-20220703104607989

输入个人邮箱,并设置密码:

image-20220703104649659

这种方式并不需要信用卡,集群在14天后会自动销毁

帐号创建完成后,会跳转到创建Elasticsearch的页面,我们可以从AWS/GCP/Azure三个云厂商中选择一个来部署。这里全部选择默认即可:

image-20220703104759442

点击部署后,将用户名和密码保存。整个部署过程大概5分钟:

image-20220703104820087

部署完成后,点击Continue

image-20220703105818569

此时跳转到Elasticsearch的主页,我们拥有了一个完整的Elasticsearch + Kibana环境,且集群具有三个节点:

image-20220703110200106

使用Docker或二进制方式都可以搭建Elasticsearch集群,本章暂不介绍