# AWS ECS & Docker for AWS?

**URL:** <https://forums.docker.com/t/aws-ecs-docker-for-aws/25120>\
**Category:** General\
**Tags:** aws\
**Created:** [November 22, 2016, 8:50am UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120 "2016-11-22T08:50:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvin5](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@alvin5](https://forums.docker.com/u/alvin5)\
**Post date:** [November 22, 2016, 8:50am UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/1 "2016-11-22T08:50:00Z")

</div>

Hi,

Sorry for newbie question.

How does AWS ECS & Docker for AWS compare? Are they seperate things or sould I expect them to merge into ECS?

I am trying to figure out a future-proof way to use docker at AWS(with Swarm)… thanks…

---

<div class="post-metadata">

**Author:** ![friism](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/friism/32/3570_2.png) [@friism](https://forums.docker.com/u/friism)\
**Post date:** [November 22, 2016, 5:09pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/2 "2016-11-22T17:09:21Z")

</div>

Docker for AWS and AWS ECS are different products. One is built by Docker Inc, the other is built by AWS.

I don’t think ECS currently supports the most recent Docker version and swarm-mode, so if you want that I recommend Docker for AWS.

---

<div class="post-metadata">

**Author:** ![madisonquinn](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@madisonquinn](https://forums.docker.com/u/madisonquinn)\
**Post date:** [June 22, 2017, 7:36am UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/3 "2017-06-22T07:36:20Z")

</div>

Hello,

Yes both are two different products. [Amazon](https://goo.gl/ABiJBj) ECS uses Docker images in task definitions to launch containers on EC2 instances in your clusters.

Docker EE for AWS is fully baked, tested and comes with the latest Enterprise edition version of Docker.

Thanks.

---

<div class="post-metadata">

**Author:** ![junius](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@junius](https://forums.docker.com/u/junius)\
**Post date:** [September 20, 2017, 9:14pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/4 "2017-09-20T21:14:18Z")

</div>

yes, they are different products. AWS ECS runs only on AWS. One benefit of ECS is AWS manages the control plane (think as Swarm manager nodes) for you. So you don’t need to worry about the manager node failure handling.

---

<div class="post-metadata">

**Author:** ![pkaramol](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/pkaramol/32/17294_2.png) [@pkaramol](https://forums.docker.com/u/pkaramol)\
**Post date:** [September 21, 2017, 1:53pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/5 "2017-09-21T13:53:55Z")

</div>

Is Docker for AWS only a EE feature? Or is it also available in CE?

---

<div class="post-metadata">

**Author:** ![friism](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/friism/32/3570_2.png) [@friism](https://forums.docker.com/u/friism)\
**Post date:** [September 21, 2017, 3:52pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/6 "2017-09-21T15:52:10Z")

</div>

A CE variant is available too: [https://docs.docker.com/docker-for-aws/#quickstart](https://docs.docker.com/docker-for-aws/#quickstart)

---

<div class="post-metadata">

**Author:** ![pkaramol](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/pkaramol/32/17294_2.png) [@pkaramol](https://forums.docker.com/u/pkaramol)\
**Post date:** [September 21, 2017, 4:01pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/7 "2017-09-21T16:01:59Z")

</div>

Is it possible to automate the docker-for-aws provisioning process by following these steps:

a) downloading the docker swarm specific `CloudFormation` [template](https://editions-us-east-1.s3.amazonaws.com/aws/stable/Docker.tmpl)  
b) use it as input to an `ansible` playbook that relies on the [cloudformation module](http://docs.ansible.com/ansible/latest/cloudformation_module.html)  
c) deploy your swarm stack on the CF stack that was created via steps a+b? (using a compose file and `docker stack deploy`)

---

<div class="post-metadata">

**Author:** ![friism](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/friism/32/3570_2.png) [@friism](https://forums.docker.com/u/friism)\
**Post date:** [September 21, 2017, 5:05pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/8 "2017-09-21T17:05:39Z")

</div>

Yup, I think that should work

---

<div class="post-metadata">

**Author:** ![pkaramol](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/pkaramol/32/17294_2.png) [@pkaramol](https://forums.docker.com/u/pkaramol)\
**Post date:** [September 22, 2017, 10:28am UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/9 "2017-09-22T10:28:00Z")

</div>

Many thanks for the prompt responses.  
I have also posted a [relevant question in SO](https://stackoverflow.com/questions/46361911/docker-for-aws-vs-pure-docker-deployment-on-ec2) since it is of a broader scope, in case you may have any useful feedback.

---

<div class="post-metadata">

**Author:** ![ruiengana](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@ruiengana](https://forums.docker.com/u/ruiengana)\
**Post date:** [November 23, 2018, 4:25pm UTC](https://forums.docker.com/t/aws-ecs-docker-for-aws/25120/10 "2018-11-23T16:25:42Z")

</div>

Hi, can anyone provide a template playbook with this 3 steps? Thank you!
