# Clarifications Regarding Deploying Discourse Docker Image on AWS ECS

**URL:** <https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071>\
**Category:** Self-hosting\
**Created:** [November 13, 2020, 7:21pm UTC](https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071 "2020-11-13T19:21:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![trying2survive](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@trying2survive](https://meta.discourse.org/u/trying2survive)\
**Post date:** [November 13, 2020, 7:21pm UTC](https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071/1 "2020-11-13T19:21:49Z")

</div>

Hello,

I have been trying to run the Discourse Docker image on ECS (container service in AWS) for more than a week already so I thought of reaching out here for advise. When trying on my standalone EC2 server, Discourse is running fine. I created a separate PostgreSQL RDS instance and ElastiCache for Redis cluster for this.

To deploy in ECS, I push the created image to the ECR registry. Then, I create a task that pulls that image. Expected result is it should run the Discourse container (that’s working on my standalone EC2 server, also stopped the running container there). However, I just get Exit Code 1 errors.

I also observed the ./launcher start app command and it outputs a lot of “-e” which is already in app.yml. Are there any further “run” commands that must be done on ECS?

I have read this but I may just be missing a simple point: [Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205)

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071)._
