- Python3
- Ubuntu 18.04
- Java1.8
$ sudo apt update
$ sudo apt-get install apt-transport-http
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ sudo add-apt-repository "deb https://artifacts.elastic.co/packages/7.x/apt stable main"
$ sudo apt update
$ sudo apt install elasticsearch
$ sudo /etc/init.d/elasticsearch status
$ sudo /etc/init.d/elasticsearch start
Step 1: Login to https://www.elastic.co/ and create a deployment
{
"endpoint": "< Elasticsearch endpoint from elasticsearch cloud >",
"port": "< Port number as mentioned in elasticsearch cloud >",
"user": "< User as mentioned in elasticsearch cloud >",
"password": "< Elasticsearch cloud user password >",
"protocol": "https"
}