EC2 Discovery Plugin and cluster.initial_master_nodes settings

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 gyldendal_es /var/es/lib/elasticsearch
path.logs: /var/es/log/elasticsearch ec2
discovery.seed_providers: ec2
discovery.ec2.protocol: http
discovery.ec2.host_type: private_ip
discovery.ec2.groups: es-sg
discovery.ec2.any_group: true

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.