I have a 3 node ES cluster setup in AWS. Cluster discovery and REST endpoints are working fine. But when i try with a TransportClient , its unable to connect to the cluster. i am getting No Node available exception. Please see the exception in below gist.
And my AWS configurations here.
cloud.aws.access_key: "XXXXXXXXXXXXXXXX"
cloud.aws.secret_key: "CCCCCCCCCCCCCCCC"
plugin.mandatory: "cloud-aws"
discovery.type: "ec2"
discovery.ec2.groups: "escluster"
discovery.ec2.host_type: "private_ip"
discovery.ec2.ping_timeout: "30s"
discovery.ec2.availability_zones: "us-east-1a"
cloud.aws.region: "us-east"
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.enabled: true
discovery.zen.ping.unicast.hosts: ["PRIVATE_IP","PRIVATE_IP","PRIVATE_IP"]
network.host: PRIVATE_IP
network.bind_host: 0
It would be great , if any one can point me any issues with above configuration. I was using above config for my previous cluster ES 1.7 and Transport Client was also working fine then. Now I am migrating to ES 2.3.4. Please suggest and give me some pointers.
Thanks