I am trying to access my ElasticSearch
on a running EC2 instance from outside the Cloud. I currently have SSH/HTTP/HTTPS open to the public for inbound traffic as well as all open for outbound traffic. I set up a public IP for my EC2 instance as well.
By default ElasticSearch is on port 9200
. I'm not sure if I configured my elasticsearch.yml
file correctly but it basically has the default configuration I only changed the cluster.name
to something else.
When I type in my public IP with port 9200
into my local browser or locally do a telnet {public-ip} 9200
, there is no response. When I SSH into my EC2 instance. I can perform a curl localhost:9200
and I get the correct response from elasticsearch
How can I connect to my ElasticSearch
running on my EC2 instance from outside the cloud?
I added a Custom Rule for my security group for inbound traffic that includes port 9200
and is open to 0.0.0.0/0
and I still cannot access this EC2 instance