S3_CLIENT_PING is a JGroups discovery protocol which using AWS SDK for Java. Credentials are resolved by Default Credential Provider Chain: for example, you can use Instance profile credentials with it, which exist within the instance metadata associated with the IAM role.
<dependency>
<groupId>jp.co.tagbangers</groupId>
<artifactId>jgroups-s3-client-ping</artifactId>
<version>4.0.0</version>
</dependency>
<jp.co.tagbangers.jgroups.S3_CLIENT_PING location="${jgroups.s3.bucket}" />
To enable S3_CLIENT_PING, you need the following code;
ClassConfigurator.addProtocol((short) 1000, S3_CLIENT_PING.class);
Pull requests are welcome.
S3_CLIENT_PING is released under version 2.0 of the Apache License.