ElasticSearch is a native designed for the cloud, so when you need to release a production environment with a huge number of records and you need high availability and good performance, you need to aggregate more nodes in a cluster.
ElasticSearch allows defining different types of nodes to balance and improve overall performances.
For an advance cluster setup, there are some parameters that must be configured to define different node types. These parameters are in config
/elasticsearch.yml
and they can be set with the following steps:
Setup if the node can be master or not:
node.master: true
Setup if a node must contain data or not:
node.data: true