So I have a java application that is able to connect to my ES cluster using the Transport client with no problems. Now I'm trying to gauge whether to use the transport or node client.
However, I'm not too sure how to connect to an ES cluster on EC2. I originally blindly used the examples without realizing those were for multi-cast discovery. I guess in terms of deployment/settings my questions...
a) Does my java application have to allow for incoming traffic on port 9200 and 9300 or can it just be 9300 or do I even need it.
b) What are the settings I need to pass into my node client? I have http.enabled = false, discovery.zen.ping.multicast.enabled=false, discovery.type=ec2, cloud.aws.region=us-east-1.
c) Does my java application requires any additional jars such as the aws ec2 jar or the elasticsearch-cloud-aws jar?
d) Am I missing anything else?