# How to Deploy Rasa ( Open-Source ) on AWS Fargate

**URL:** <https://forum.rasa.com/t/how-to-deploy-rasa-open-source-on-aws-fargate/44499>\
**Category:** Rasa Open Source\
**Created:** [June 10, 2021, 4:02pm UTC](https://forum.rasa.com/t/how-to-deploy-rasa-open-source-on-aws-fargate/44499 "2021-06-10T16:02:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quebic-source](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/quebic-source/32/15310_2.png) [@quebic-source](https://forum.rasa.com/u/quebic-source)\
**Post date:** [June 10, 2021, 4:02pm UTC](https://forum.rasa.com/t/how-to-deploy-rasa-open-source-on-aws-fargate/44499/1 "2021-06-10T16:02:44Z")

</div>

I am trying to deploy Rasa on AWS Fargate. There are two tasks running on Cluster. One is Rasa-Server and another one is Rasa-Action-Server.

The problem is when increase the load Rasa-Server and Rasa-Action-Server keep restarting. I have configured 4 vcpus and 16GB for memory.

Is there any recommend guideline to explain how we can deploy rasa on Fargate. Or is there any configuration changes for Rasa when production deployment.

Thank you.

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [June 15, 2021, 11:42am UTC](https://forum.rasa.com/t/how-to-deploy-rasa-open-source-on-aws-fargate/44499/2 "2021-06-15T11:42:57Z")

</div>

I’m wondering if Fargate assumes a `/health` or `/alive` endpoint for it’s containers that Rasa doesn’t offer. I’m not familiar with Fargate but most cloud tools require this. @Tharanga, can you confirm what requirements Fargate containers must have?

---

<div class="post-metadata">

**Author:** ![quebic-source](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/quebic-source/32/15310_2.png) [@quebic-source](https://forum.rasa.com/u/quebic-source)\
**Post date:** [June 15, 2021, 2:04pm UTC](https://forum.rasa.com/t/how-to-deploy-rasa-open-source-on-aws-fargate/44499/3 "2021-06-15T14:04:39Z")

</div>

Thank you @koaning . I configured the action-server /health endpoint for AWS ALB health check. Restarting issue was resolved after that.

Then I got another issue. I am using AWS DynamoDB as TrackerStore. I got exception `ProvisionedThroughputExceededException`. This is cause of Read/write capacity limitation from the DynamoDB side.

I changed that capacity mode into `On-demand` mode. Now it’s working as expected.

Thank you.
