Narrator: So somehow this has been
quite a funny question that appears in the exam,
but somehow, I have to teach about it.
So here we go.
So what is a production setup looking like
for ElasticSearch?
And there are guidelines
and so here they are.
It's recommended you have 3 dedicated Master nodes
on ElasticSearch. So we have a region 3, AZ okay.
We have to spread across AZ
and we're going to have 3 Master nodes.
So one Master node per AZ.
And the reason is we have multi AZ setup
and one of these nodes is going to be an active node.
The other ones are going to be backup node. Okay.
And the recommendation is you have
3 dedicated Master nodes.
The second one is to use 2,
at least 2 data nodes per AZ for replication.
And so that means that we have 6 Data nodes in total,
2 per AZ, times 3 AZ's, okay
And they're all going to be connected to the active master
node in ElasticSearch.
We want to deploy the domain across 3 different AZ.
Okay. It should be fully distributed,
fully spread and multi AZ.
And finally, we want you to create one replica
for each index in the cluster, which is something
that's more ElasticSearch specific.
Somehow the exam has been testing and asking about this
setup. So remember 3 master nodes,
1 for AZ and 2 Data nodes per AZ
So in total that's 6 Data nodes and 3 Master nodes.
Okay. That's it for this lecture.
I hope you liked it.
And I will see you in the next lecture.