How to configure elasticsearch-2.x to make cluster in AWS machine and how is it different from older versions of ES

Can any one please tell me how to configure elasticsearch.yml file in order to make elasticsearch-2.x clusters in AWS machine.

You'll probably want to configure Elasticsearch to use the private IP: _ec2:privateIpv4_

The cloud-aws plugin is helpful, as it can do discovery with native EC2 tools. If you're familiar with OpsWorks, you could start with this article:

See also