Skip to content

Steps for setting up ElasticSearch on AWS

Aditya Bharadwaj edited this page Mar 31, 2017 · 4 revisions

Steps

  1. Installing OpenJDK

    sudo apt-get update
    sudo apt-get install openjdk-7-jre
    
  2. Installing Java 8

    sudo add-apt-repository -y ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get -y install oracle-java8-installer
    
  3. Downloading and Installing Elasticsearch

    wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.0.deb
    sudo dpkg -i elasticsearch-5.3.0.deb 
    sudo update-rc.d elasticsearch defaults
    
  4. Configurations

    sudo vim /etc/elasticsearch/elasticsearch.yml
    

    Change node.name and cluster.name.

  5. Start

    sudo service elasticsearch start
    
Clone this wiki locally