I am trying to set up elasticsearch on my aws instance. I have installed elasticsearch 6.6 on the instance and elasticsearch is running locally. What configuration changes should I make in the elasticsearch.yml file to make me access the elasticsearch data using the instance's public IP address.
ex: I have made ssh connection to the instance and run the command
This gives me the correct output on the console. But I want to access the same by the public IP address of the instance.
When I try this on the browser, nothing happens(session time out after some time)
I was looking at a tutorial here but found that it is for elasticsearch 4.X and things have changed in elasticsearch 6.X.
I tried configuring the elasticsearch.yml file using this tutorial and have come this far:
discovery.zen.ping.unicast.hosts: [private ip]
network.host: [private ip]
What configuration settings should I change to get this running.
Or is there any link to a tutorial on how to manually setup elasticsearch 6.X on aws.