Publicly accessible Elasticsearch 7.x
Today I've Learned posthow to expose ElasticSearch on a VM globaly (public access)
or: How to access ElasticSearch 7.x installed on a VM from my laptop
note this is a terrible idea! don’t do this for production ES. This is only usefull for debugging or if you have strong firewall setup
Edit file /etc/elasticsearch/elasticsearch.yml
to values:
network.host: 0.0.0.0
network.bind_host: 0.0.0.0
network.publish_host: 0.0.0.0
discovery.seed_hosts: ["0.0.0.0", "[::0]"]
and restart elasticsearch sudo service elasticsearch stop
+ ... start
Entire blog website and all the articles can be forked from this Github Repo