Reputation: 9634
Is it possible to connect to an Apache Ignite cluster from outside of the network (e.g. from dev laptop) using ssh tunnels? Only in clientMode. If it is possible how?
I have seen various half posts about this but nothing that puts it all together. Tx.
Upvotes: 1
Views: 683
Reputation: 1785
The easiest way would be to use a thin client that requires to open just a single port on the server nodes end. Check the org.apache.ignite.configuration.ClientConnectorConfiguration.port
setting, by default the servers listen for the thin client connections on port 10800.
Thick clients require to open discovery and communication SPI ports on the cluster side that might require more heavy-lifting for you. This page summarizes thick client-related settings if you go this route.
Upvotes: 2
Reputation: 316
It depends on your network configuration. Try to make it so that your laptop can ping your cluster and your cluster can ping your laptop.
Then adjust the ipfinder (in Ignite config) on the laptop and on the cluster accordingly.
Upvotes: 1