<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>You can use the Helm chart to deploy the elastic search on EKS cluster.</p>
<p><a href="https://github.com/elastic/helm-charts/tree/main/elasticsearch" rel="nofollow noreferrer">https://github.com/elastic/helm-charts/tree/main/elasticsearch</a></p>
<p>So by default, it will use the storage class, which will be disk and it will give better performance. Accordingly, you can change the storage class and disk changes as per requirement in the helm chart.</p>
<p>it's also good to deploy the Elasticsearch on separate nodes however creating networking and managing might not be as easy as on Kubernetes cluster.</p>
