# Migrating to ECS - A few newbie questions

**URL:** <https://discuss.elastic.co/t/migrating-to-ecs-a-few-newbie-questions/149593>\
**Category:** Elasticsearch\
**Created:** [September 23, 2018, 1:59pm UTC](https://discuss.elastic.co/t/migrating-to-ecs-a-few-newbie-questions/149593 "2018-09-23T13:59:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [September 23, 2018, 1:59pm UTC](https://discuss.elastic.co/t/migrating-to-ecs-a-few-newbie-questions/149593/1 "2018-09-23T13:59:04Z")

</div>

Hello All : I have some basic questions that I hope will help me get a better understanding of migrating our EC2 based stack to ECS. Any Input will help feed my understanding! Please note, I am NOT using Fargate ECS. J  
This is our current configuration (Just trying to do migrate elasticsearch for now):

> ```
> 3 Coordinating Nodes 3 EC2 Instances each Instance has 64 GB memory
> 7 Master/Data Nodes 7 EC2 Instances each Instance has 64 GB memory
> 
> ```

Limiting myself on how to migrate the **7 Master Data Nodes** above into ECS : If I were to attempt to map the master data Nodes to ECS and achieve the same level of SLAs and Response/Up times maintained after migrating to ECS - what should my ECS Cluster look like?

- Do I spin up 7 EC2 Instances in my ECS cluster to maintain the same SLA? (ie choose DAEMON when creating the Service?)
- When creating the container definition, what is the hard memory limit I should specify? (Currently we specify 30 GB since we have 64GB as suggested by elastic for optimal performance. of course, we have 1 elastic service running on 1 EC2 Instance. The confusion is how to map this notion to ECS?)

---

<div class="post-metadata">

**Author:** ![titan1978](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Post date:** [September 25, 2018, 9:42am UTC](https://discuss.elastic.co/t/migrating-to-ecs-a-few-newbie-questions/149593/2 "2018-09-25T09:42:15Z")

</div>

bump. Any pointers would be helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 23, 2018, 9:42am UTC](https://discuss.elastic.co/t/migrating-to-ecs-a-few-newbie-questions/149593/3 "2018-10-23T09:42:24Z")

</div>

Closed on October 23, 2018, 9:42am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
