Discovery in the Cloud
Cloud-based IP finders for GridGain node discovery, including Amazon S3, Amazon ELB, and Google Cloud Storage.
Nodes discovery on a cloud platform is usually proven to be more challenging because most virtual environments are subject to the following limitations:
Multicast is disabled;
TCP addresses change every time a new image is started.
Although you can use TCP-based discovery in the absence of the Multicast, you still have to deal with constantly changing IP addresses. This causes a serious inconvenience and makes configurations based on static IPs virtually unusable in such environments.
To mitigate the constantly changing IP addresses problem, GridGain supports a number of IP finders designed to work in the cloud:
Amazon S3 IP Finder
Amazon ELB IP Finder
Google Cloud Storage IP Finder
Amazon S3 IP Finder
Amazon S3-based discovery allows GridGain nodes to register their IP addresses on start-up in an Amazon S3 store. This way other nodes can try to connect to any of the IP addresses stored in S3 and initiate automatic node discovery. To use S3 based automatic node discovery, you need to configure the TcpDiscoveryS3IpFinder type of ipFinder.
The ignite-aws module is removed. To use the S3 IP finder, add the Apache ignite-aws-ext extension (org.apache.ignite:ignite-aws-ext) and its dependencies to the classpath of every node, including thick clients. The classes keep their org.apache.ignite.* package names, so the configuration examples below do not change. Without the extension, a configuration that references TcpDiscoveryS3IpFinder fails with ClassNotFoundException.
If you upgrade from 8.9.x and use AwsKmsEncryptionService, read the upgrade notes in the 8.9.x tab first.
The S3 IP finder is part of the ignite-aws module, which is in the libs/optional folder of the distribution. Enable the module before you use the IP finder. In a Maven project, add the org.gridgain:ignite-aws dependency.
Starting with GridGain 8.9.39, the module is deprecated. Its replacement is the Apache ignite-aws-ext extension (org.apache.ignite:ignite-aws-ext). If you switch, do not use both modules on the same node: remove ignite-aws first (the libs/ignite-aws folder of a standalone node, or the ignite-aws dependency of a Maven project), and then add ignite-aws-ext. If both are on the classpath, two jars define the same classes, and the classpath order decides which one is loaded.
Here is an example of how to configure Amazon S3 based IP finder:
unsupported
unsupported
You can also use Instance Profile for AWS credentials provider.
unsupported
unsupported
Amazon ELB Based Discovery
AWS ELB-based IP finder does not require nodes to register their IP addresses. The IP finder automatically fetches addresses of all the nodes connected under an ELB and uses them to connect to the cluster.
To use ELB based automatic node discovery, you need to configure the TcpDiscoveryElbIpFinder type of ipFinder.
The ignite-aws module is removed. Add the Apache ignite-aws-ext extension (org.apache.ignite:ignite-aws-ext) to the classpath of every node. See Amazon S3 IP Finder.
The ELB IP finder is part of the ignite-aws module. Enable the module before you use it. Starting with GridGain 8.9.39, the module is deprecated. For the replacement, see Amazon S3 IP Finder.
Here is an example of how to configure Amazon ELB based IP finder:
unsupported
unsupported
Google Compute Discovery
GridGain supports automatic node discovery by utilizing Google Cloud Storage store. This mechanism is implemented in TcpDiscoveryGoogleStorageIpFinder. On start-up, each node registers its IP address in the storage and discovers other nodes by reading the storage.
Here is an example of how to configure Google Cloud Storage based IP finder:
unsupported
unsupported
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

