Creating and setting up additional Elasticsearch nodes
An Elasticsearch cluster can have a variety of node roles, besides data tiers, to function efficiently. Figure 1.18 outlines the several types of nodes available in a cluster:
Figure 1.18 – Elasticsearch node types
Roles such as Master, Machine Learning, or Ingest can be dedicated to specific Elasticsearch instances, and this is often a best practice in a production environment.
In this recipe, we will learn how to configure dedicated nodes for both self-managed deployments and Elastic Cloud.
Getting ready
Ensure that your self-managed cluster from the previous recipe is operational. For simplicity, we will create additional nodes on the same local machine. The nodes will undertake the following roles:
- A dedicated master eligible node
- A machine learning node
The snippets for this recipe are available at https://github.com/PacktPublishing/Elastic-Stack-8.x-Cookbook...