First I wanted to use discovery-ec2 plugin to find nodes(including non-master-eligible nodes) easily in cluster
but I've just noticed that discovery-ec2 plugin is only for finding master-eligible nodes on ES docs
The discovery-ec2 plugin allows Elasticsearch to find the master-eligible nodes in a cluster running on AWS EC2
Here was my plan:
- create new node and add it to cluster using discovery-ec2
- chance node's role from master-eligible role(which is default setting) to data only
is it possible to create node and connect it to cluster like this? Or is it ideal to set discovery.seed_hosts field, not using discovery-ec2 plugin? I'm going to use this to production level