Deploy Elastic Search Cluster and kibana on AWS EC2 instance
- Video Tutorial : https://www.youtube.com/watch?v=SbeleFxyvu8&feature=emb_title
- 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
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
service elasticsearch start
- Use the chkconfig command to configure Elasticsearch to start automatically when the system boots up
sudo chkconfig --add elasticsearch
- Dirty hack to make it work don’t do on prod
echo "network.host: 0.0.0.0" >> /etc/elasticsearch/elasticsearch.yml
- 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
- 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 &