Hi Everyone,
I am hoping to utilize Elasticsearch for our search needs, but I had a few
questions about a particular infrastructure issue that I wasn’t able to get
resolved by looking through the various Elasticsearch documentation and
resources.
The issue is that we have both a datacenter and an internal corporate
network. Let’s say that the Elasticsearch nodes are as follows:
Internal LAN: Node 1
Datacenter: Node 2 & Node 3
We wish that it work in such a way that search queries that are executed on
the LAN only go to Node 1 (these would be search requests from within the
company). However, queries executed from web servers in the datacenter
should only go to Nodes 2 and 3. Node 1 will be able to communicated to the
other 2 via a VPN, but we wish to minimize traffic on it (for obvious
reasons); this means that we don’t want a situation where a large amount of
web requests trigger many queries on the node inside the LAN (Node 1).
Is it possible to restrict queries to servers in some way that would
accommodate our needs? We still want the nodes to communicate with each
other as needed for Elasticsearch to function properly, and be highly
available by way of replicas, but the idea is to minimize heavy traffic
over bottlenecks (namely the VPN in this case).
I apologize if this question was already asked before, but I wasn't able to
find it. Thank you in advance! =)
-- Matt
--