Bind (separate) Transport and HTTP to two different IP addreses


(Shlomke`) #1

Hi,

I'm trying ES 2-node cluster on a GoGrid cloud environment. For high-
availability, I'm going to use GoGrid's load-balancer.

On each node I have two network interfaces - one Public and one
Private. Using the Private interface is free, but using the Public
costs per 1GB transferred. And here's the problem: The load balancer
will only communicate with the Public network interface. I will have
to bind ES to the Public interface, and that means that I'm going to
pay for each query my web servers send to the ES servers. But that's
not all. I also will have to pay for the Transport module traffic,
since it binds too to the Public interface.

So, the question is can I separate HTTP and Transport modules to two
different IP addresses.

Thanks,

Shlomke`


(Shay Banon) #2

Sure, set the transport.host setting to the private IP address, and set
http.host setting to the public IP.

On Tue, Oct 18, 2011 at 5:47 PM, Shlomke` shlomi.shlush@gmail.com wrote:

Hi,

I'm trying ES 2-node cluster on a GoGrid cloud environment. For high-
availability, I'm going to use GoGrid's load-balancer.

On each node I have two network interfaces - one Public and one
Private. Using the Private interface is free, but using the Public
costs per 1GB transferred. And here's the problem: The load balancer
will only communicate with the Public network interface. I will have
to bind ES to the Public interface, and that means that I'm going to
pay for each query my web servers send to the ES servers. But that's
not all. I also will have to pay for the Transport module traffic,
since it binds too to the Public interface.

So, the question is can I separate HTTP and Transport modules to two
different IP addresses.

Thanks,

Shlomke`


(Shlomke`) #3

Thanks Shay, I will give it a try.

On Oct 18, 6:21 pm, Shay Banon kim...@gmail.com wrote:

Sure, set the transport.host setting to the private IP address, and set
http.host setting to the public IP.

On Tue, Oct 18, 2011 at 5:47 PM, Shlomke` shlomi.shl...@gmail.com wrote:

Hi,

I'm trying ES 2-node cluster on a GoGrid cloud environment. For high-
availability, I'm going to use GoGrid's load-balancer.

On each node I have two network interfaces - one Public and one
Private. Using the Private interface is free, but using the Public
costs per 1GB transferred. And here's the problem: The load balancer
will only communicate with the Public network interface. I will have
to bind ES to the Public interface, and that means that I'm going to
pay for each query my web servers send to the ES servers. But that's
not all. I also will have to pay for the Transport module traffic,
since it binds too to the Public interface.

So, the question is can I separate HTTP and Transport modules to two
different IP addresses.

Thanks,

Shlomke`


(system) #4