Running these services on one self-hosted Ubuntu VM on Google:
- elasticsearch - not yet setup to be accessible externally
- enterprise-search - accessible externally
- kibana - should be accessible externally but something is wrong!
I can access enterprise-search from the public url.
I have almost identical firewall rules for enterprise-search and kibana except for the name and port number.
$ sudo journalctl -fu kibana.service
Apr 30 02:56:34 webserver-1 systemd[1]: Stopped Kibana.
Apr 30 02:56:34 webserver-1 systemd[1]: Started Kibana.
Visiting http://<public_url>:5601/
shows only Kibana server is not ready yet
.
kibana.yml:
server.port: 5601
server.host: 192.168.2.3
server.publicBaseUrl: "http://<public_url>:5601/"
elasticsearch.yml:
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
action.auto_create_index: .monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true