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 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 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 and ?

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.