I am trying to get the EC2 Discovery Plugin to work. But first. Do I have to set the cluster.initial_master_nodes? I don't like to hardcode the ip addresse is there a way to avoid that?
cat > /etc/elasticsearch/elasticsearch.yml << EOF