Do I need cluster.initial_master_nodes?

Below is the Elasticsearch.yml configuration for my ec2 based ECS Elasticsearch setup.

cluster.name: dashboards-elasticsearch
node.data: true
node.master: true

# node.name: ${ES_NODE_NAME:}

path.data: ${ES_DATA_PATH:/var/lib/elasticsearch}
path.logs: ${ES_LOGS_PATH:/var/log/elasticsearch}

network.host: 0.0.0.0

network.publish_host: _ec2:privateIpv4_
transport.publish_host: _ec2:privateIpv4_

http.port: 9200
transport.port: 9300

discovery.seed_providers: ec2
discovery.ec2.tag.Name: Elasticsearch-Nodes

cluster.initial_master_nodes: es-node-1, es-node-2, es-node-3

I have to create multiple task definition if I want to use this .yml as the node name for each master is different. So I wanted to know is it possible to not use the cluster.initial_master_nodes for the initial cluster bootstrap?

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