Igor, Here is the ticket I'm talking about: https://issues.apache.org/jira/browse/IGNITE-3230
-Val On Wed, Jun 21, 2017 at 8:57 AM, Igor Rudyak <irud...@gmail.com> wrote: > Val, > > Are there any ticket for this in Jira? > > Igor > > On Jun 21, 2017 5:50 AM, "Valentin Kulichenko" < > valentin.kuliche...@gmail.com> wrote: > > > Igor, > > > > What version are you going on? I believe we already fixed this in the > past. > > > > -Val > > > > On Wed, Jun 21, 2017 at 2:30 AM Igor Rudyak <irud...@gmail.com> wrote: > > > > > Hi guys, > > > > > > How to force *TcpDiscoveryZookeeperIpFinder* to publish public IP > > address > > > (in addition to private IP) of Ignite node when it's deployed in > Amazon? > > > > > > By default it just publishing private IP addresses of nodes which makes > > it > > > impossible to connect to cluster from outside using *Zookeeper > Discovery > > > SPI*. > > > > > > I tried to use something like this (see below) for *discoverySPI*: > > > > > > <property name="discoverySpi"> > > > <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> > > > <property name="addressResolver"> > > > <bean class="org.apache.ignite.configuration.BasicAddressResolver"> > > > <constructor-arg> > > > <map> > > > <entry key="<node-private-ip>" value="<node-public-ip>"/> > > > </map> > > > </constructor-arg> > > > </bean> > > > </property> > > > <property name="ipFinder"> > > > <bean > > > > > > class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk. > > TcpDiscoveryZookeeperIpFinder"> > > > <property name="zkConnectionString" value="<zookeeper-ip>:2181"/> > > > </bean> > > > </property> > > > </bean> > > > </property> > > > > > > But such way it only publish public IPs to Zookeeper. > > > > > > Actually I am looking for something like *advertised.host.name > > > <http://advertised.host.name>* analog in Kafka. Which allows to > publish > > > private and public IP addresses for a node to Zookeeper. > > > > > > Such way all internal services communicates through private IPs, but > > > external services communicates using public IPs. > > > > > > Igor > > > > > >