Thursday 15 August 2013

amazon ec2 - Elasticsearch on EC2 -



amazon ec2 - Elasticsearch on EC2 -

i've spent time looking info regarding elasticsearch.yml configurations create single instance elasticsearch (on windows 2012 server ec2) accessible via public ip, everytime uncomment 1 or both of next settings thing changes is, calling private ip results in error.

network.publish_host: <public ip> network.bind_host: <private ip>

is right , there other settings have defined? shouldn't run default values?

this more of general reply how networking works within ec2 instead of specific reply question. should help inform how configure application.

ec2 has 1:1 nat between public , private ip address. because of this, private ip address visible instance directly.

if binding service network interface, 1 private ip.

some services require knowledge of external ip address in order function properly. 1 have run ftp in passive configuration, due fact needs open separate socket info transfer.

in case of elastic search, appears have special plugin help configure elastic search aws environment: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-network.html

amazon-ec2 elasticsearch windows-server-2012-r2

No comments:

Post a Comment