I am running ES 0.90.4 on an Ubuntu 12.04 LTS EC2 instance.

Starting this instance, it starts listening to port 9200:
 ubuntu@ip-172-31-31-127:/var/lib/elasticsearch$ sudo lsof -i TCP | grep 9200
 java    1982 elasticsearch  102u  IPv6  12069      0t0  TCP *:9200 (LISTEN)
 ubuntu@ip-172-31-31-127:/var/lib/elasticsearch$ 

If I add the EC2 plugin settings to /etc/elasticsearch/elasticsearch.yml
and restart elasticsearch, it stops listening to port 9200:
 ubuntu@ip-172-31-31-127:/var/lib/elasticsearch$ sudo lsof -i TCP | grep 9200
 ubuntu@ip-172-31-31-127:/var/lib/elasticsearch$ 

If I yank the EC2 settings from /etc/elasticsearch/elasticsearch.yml and
restart elasticsearch, it starts listening to 9200 again.

Is this expected behaviour? Does it start listening to a different port
instead?

The settings that are added to /etc/elasticsearch/elasticsearch.yml are
the settings mentioned in 
http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/


The settings are:

cluster.name: myuniquename-cluster
cloud:
   aws:
      access_key: <key>
      secret_key: <key>
discovery:
   type: ec2
gateway:
   type: s3
   s3:
      bucket: myuniquename


Thanks!

- Steinar


-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/upzchaa3mdxj.fsf%40dod.no.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to