How to configure elasticsearch on ec2 of aws for a single node?

I saw many tutorials online for elasticsearch setup on ec2, they were for cluster setup. I want only one instance of elasticsearch. Hence i did the basic setup and changed network.host to "localhost", i was able to see output for - sudo curl http://localhost:9200 -, but when i tried using public ip it didnt work. I even changed network.host to private ip, even curl didnt give ouput and even in browser it didnt work. What to do?

You probably need to configure the firewall settings to let the traffic goes from the public IP to your 9200 port on the private IP.

BUT never do that without any security in place.

BTW did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI and what is coming next :slight_smile: ...

i have added 9200 port in security group.

That should be ok then.
What are your elasticsearch logs?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.