I'm trying to follow the tutorial (http://www.elasticsearch.org/
tutorials/2011/08/22/elasticsearch-on-ec2.html) to start an
Elasticsearch server on a EC2 instance, but can't seem to get the
server to start. I believe I'm following the instructions exactly.
Every time I try, CPU usage goes to 100% and the server stops
responding. I've tried 0.17.6 and 0.17.7 on micro basic 32bit and
On the 32bit, I was getting a warning '', but found a irc log
directing me to start elasticsearch with the following command, which
seemed to resolve the warning message: ES_JAVA_OPTS='-server' bin/
My configuration files are here: https://gist.github.com/1248557
I'm following these steps from the tutorial
- Launch up ec2 instance
- Download and install ES using these command
$ wget http://bit.ly/ES-0-17-6
$ sudo unzip elasticsearch-0.17.6.zip -d /usr/local/elasticsearch
$ cd /usr/local/elasticsearch/elasticsearch-0.17.6
$ sudo bin/plugin -install cloud-aws
- Configure ES https://gist.github.com/1248557
- Set environment variale ES_MAX_MEM=500m and EX_MIN_MEM=256m
(roubly half of my instance memory)
- Start wtih sudo bin/elasticsearch -f
Any thoughts on what I'm doing wrong?
Thanks for all your help!