<p>I wanna install Elasticsearch in AWS EKS. But <a href="https://www.elastic.co/guide/en/elasticsearch/plugins/master/cloud-aws-best-practices.html#:%7E:text=is%20not%20recommended%20or%20supported" rel="nofollow noreferrer">Elasticsearch is not recommended EFS Storage</a>.</p>
<p>So I want to install Elasticsearch using AWS EKS + EC2 (Management Node Group) + EBS.</p>
<p>I'm curious about three things.</p>
<p><strong>First,</strong> EKS is a managed Kubernetes service. Should we install Elasticsearch by installing one node (EC2) and Kubernetes in EC2?
<a href="https://i.stack.imgur.com/seSQq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/seSQq.png" alt="enter image description here" /></a></p>
<p><strong>Second,</strong> create three EC2s, install elasticsearch with Docker for each instance, and connect clustering
<a href="https://i.stack.imgur.com/jBTKu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jBTKu.png" alt="enter image description here" /></a></p>
<p><strong>Three,</strong> whether Elasticsearch can be installed with the EKS Fargate.</p>
<p>It may be an ignorant question, but I would appreciate it if you could give me an idea on how to reliably build Elasticsearch in EKS.</p>

Junseok Lee
<p>I think the simpler way to install Elasticsearch (or ELK in general) is to use <a href="https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html" rel="nofollow noreferrer">EKS with EFS driver</a>. Then you can use Helm / Operator to install Elastic.</p>
<p>If you strive for highest Elastic performance, or/and have bigger cluster, then I'd go with your Second solution, so install each Elastic node on a separate EC2 instance.</p>
