Discovering Members by Auto Detection

Auto Detection is a good way to start playing with Hazelcast. It tries to automatically detect the appropriate discovery plugin and apply it to your Hazelcast configuration. Assuming you have hazelcast-all on your classpath and your runtime is Kubernetes, Hazelcast automatically applies the Kubernetes discovery mechanism.

Below is a table with minimal requirements for each environment.

Table 1. Environment Requirements

Environment

Requirements

AWS

AWS EC2 requires the following points:

  • Security Group with the port 5701 open

  • IAM role with the ec2:DescribeInstances permission attached to the EC2 Instance

Azure

Azure requires having Azure managed identity with the READ role attached to your Azure Virtual Machine.

GCP

GCP requires having Cloud API (at minimum Read Only to Compute Engine API) access attached to your VM Instance.

Kubernetes

Kubernetes requires applying the RBAC permissions.