简体   繁体   English

ElasticSearch复制主目录/服务器

[英]ElasticSearch replication home/server

I am running a local ElasticSearch server from my own home, but would like access to the content from outside. 我正在自己的家中运行本地ElasticSearch服务器,但希望从外部访问内容。 Since I am on a dynamic IP and besides that do not feel comfortable opening up ports to the outside, I would like to rent a VPS somewhere, setup ElasticSearch and let this server be a read only copy of the one I have at home. 由于我使用的是动态IP,除了要开放到外部的端口之外,我还感到不舒服,因此我想在某处租用VPS,设置ElasticSearch并让该服务器成为我在家中的服务器的只读副本。

As I understand it, this should be possible - however I have been unsuccessful at creating any usable version that lets another server be a read-only version of my home ES-server. 据我了解,这应该是可能的-但是,我在创建任何可用版本(使另一台服务器成为我的家庭ES服务器的只读版本)方面都没有成功。

Can anyone point me to a piece of information or create a guide, that would help me to set this up? 谁能为我提供一些信息或创建指南,以帮助我进行设置? I am rather known to ES-usage, however my setup-skills are still vague. 我对ES的使用非常了解,但是我的设置技能仍然很模糊。

As I understand it, this should be possible 据我了解,这应该是可能的

It might be possible with some workarounds, but it's definitely not built for that: 某些解决方法可能是可行的,但绝对不是为此而构建的:

  1. One cluster needs to be in one physical region; 一个群集需要位于一个物理区域中; mainly because of latency and the stability of the network connection. 主要是因为延迟和网络连接的稳定性。
  2. There are no read-only versions. 没有只读版本。 You could only allow read access to a node (via a reverse proxy or the security plugin), but that's only a workaround. 您只能允许对节点的读取访问(通过反向代理或安全性插件),但这仅是一种解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM