How to do it…

For the advanced setup of a cluster, there are some parameters that must be configured to define different node types.

These parameters are in the config/elasticsearch.yml, file and they can be set with the following steps:

  1. Set up whether the node can be a master or not, as follows:
node.master: true
  1. Set up whether a node must contain data or not, as follows:
node.data: true
  1. Set up whether a node can work as an ingest node, as follows:
node.ingest: true