Skip to content

soumilshah1995/AWS-Elastic-Search-and-kibana-Deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

AWS-Elastic-Search-and-kibana-Deploy

Deploy Elastic Search Cluster and kibana on AWS EC2 instance

1

Step1: Install java and its Dependencies

  • SSH into device
java -version
sudo yum -y install java-1.8.0-openjdk
sudo yum -y remove java-1.7.0-openjdk
java -version

Step2: Install java and its Dependencies

sudo su
yum install -y
cd /root
wget  https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.2.noarch.rpm
yum install elasticsearch-1.7.2.noarch.rpm -y
rm -f elasticsearch-1.7.2.noarch.rpm

Step3: Start the Server

service elasticsearch start

Step4: Automatically Boot u on start

  • Use the chkconfig command to configure Elasticsearch to start automatically when the system boots up
sudo chkconfig --add elasticsearch

Step5:Configuring AWS IP so you can access using public IP

  • Dirty hack to make it work don’t do on prod
echo "network.host: 0.0.0.0" >> /etc/elasticsearch/elasticsearch.yml

Step6:Install Plugins

  • Dirty hack to make it work don’t do on prod
cd /usr/share/elasticsearch/
./bin/plugin -install mobz/elasticsearch-head
./bin/plugin -install lukas-vlcek/bigdesk
./bin/plugin install elasticsearch/elasticsearch-cloud-aws/2.7.1
./bin/plugin --install lmenezes/elasticsearch-kopf/1.5.7

Step 7:Install Kibana

  • Dirty hack to make it work don’t do on prod
sudo su
yum update -y
cd /root
wget https://download.elastic.co/kibana/kibana/kibana-4.1.2-linux-x64.tar.gz
tar xzf kibana-4.1.2-linux-x64.tar.gz
rm -f kibana-4.1.2-linux-x64.tar.gz
cd kibana-4.1.2-linux-x64
nano config/kibana.yml
nohup ./bin/kibana &












About

Deploy Elastic Search Cluster and kibana on AWS EC2 instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published