- Install the Elasticsearch following this instruction
- Install Java
sudo yum install java-1.8.0-openjdk
- Choose the installed Java version
sudo /usr/sbin/alternatives --config java
- Install Amazon specific plugin
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install discovery-ec2
- Edit configurations in
/etc/elasticsearch/
- Run the Elasticsearch
sudo -i service elasticsearch start
- Look at the logs if didn't start
/var/logs/elasticsearch/
- Add to autostart on reboot
sudo chkconfig elasticsearch on
(for verifyingsudo chkconfig --list
)
Last active
April 17, 2018 14:36
-
-
Save EddiG/3eaeb8e2968a1967df6e8831d1512991 to your computer and use it in GitHub Desktop.
Little instruction of running Elasticsearch on Amazon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment