Elasticsearch allows you to created nodes with dedicated roles, but by default every nodes has all roles. Having nodes with dedicated roles generally only makes sense for larger clusters. If you create a small cluster with less than 5-10 nodes the general recommendation is to let all nodes have all roles (be master eligible as well as hold data). Just because you can have dedicated node types it does not mean that you should.
2 Likes