# Need help to deploy rasa bot to Azure/AWS

**URL:** <https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537>\
**Category:** Rasa Open Source\
**Created:** [July 20, 2020, 3:55am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537 "2020-07-20T03:55:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![analyticalgagan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/analyticalgagan/32/10640_2.png) [@analyticalgagan](https://forum.rasa.com/u/analyticalgagan)\
**Post date:** [July 20, 2020, 3:55am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/1 "2020-07-20T03:55:56Z")

</div>

Hello Friends,

Iam looking for help to deploy my rasa open source chatbot to Azure or AWS and get a public URL. If anyone has already done it please help me by giving steps or email me at [analyticalgagan@gmail.com](mailto:analyticalgagan@gmail.com). I shall be really thankful, i have been struggling since last week. Steps which I have already done

1. My bot is ready and running on local machine, it has action server as well.
2. I had created one docker file and an image, referring to rasa tutorial -\> [Deploying Your Rasa Assistant](https://rasa.com/docs/rasa/user-guide/how-to-deploy/#building-an-action-server-image)
3. I had create docker compose file, refering to rasa tutorial -\> [Deploying a Rasa Open Source Assistant in Docker Compose](https://rasa.com/docs/rasa/user-guide/docker/deploying-in-docker-compose/)
4. When i run docker compose file using command docker-compose up the bot runs fine (in my local machine)
5. I had pushed the action server image to docker hub and also pushed the docker compose file to Azure using Web app for container (to get public Url), the web app for container fails to recognize the docker compose file saying there is issue in format of file, while same file is running perfectly fine in my local machine.

Followed this article as well but article seems incomplete -\> [Rasa Chatbot in Azure Web App For Containers | by William Galindez Arias | Medium](https://medium.com/@william.dev.env/rasa-chatbot-in-azure-web-app-for-containers-693660c632dc)

Have been looking at lot of articles since last week, Any help would be really appreciated.

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [July 20, 2020, 9:42am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/2 "2020-07-20T09:42:41Z")

</div>

Hi @analyticalgagan,

Can you share more details related to your issue?

1. Screenshots or exact error message that you can see in Azure
2. The docker-compose file that you use to create a web application in Azure

Best, Tomasz

---

<div class="post-metadata">

**Author:** ![analyticalgagan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/analyticalgagan/32/10640_2.png) [@analyticalgagan](https://forum.rasa.com/u/analyticalgagan)\
**Post date:** [July 20, 2020, 12:14pm UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/3 "2020-07-20T12:14:51Z")

</div>

Hello Tomasz,

I’m looking for standard set of instructions to deploy a working rasa chatbot to Azure/AWS.

If anyone has done that, i would really appreciate if clear cut steps can be shared in this post. Apart from me it will help many others in the future as well.

Please don’t take it otherwise, discussing on error message will just divert the topic.

Thanks, Gagan

---

<div class="post-metadata">

**Author:** ![sumit2498](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sumit2498/32/10814_2.png) [@sumit2498](https://forum.rasa.com/u/sumit2498)\
**Post date:** [October 12, 2020, 12:39pm UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/4 "2020-10-12T12:39:25Z")

</div>

Struggling since last 15 days… not yet got the solution if you know the solution pls let me know

---

<div class="post-metadata">

**Author:** ![analyticalgagan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/analyticalgagan/32/10640_2.png) [@analyticalgagan](https://forum.rasa.com/u/analyticalgagan)\
**Post date:** [October 13, 2020, 6:04am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/5 "2020-10-13T06:04:35Z")

</div>

Finally I published the bot to Google Cloud Platform.

Following are the tutorials which i followed to publish bot to GCP

[![](https://img.youtube.com/vi/9C1Km6xfdMA/maxresdefault.jpg "Deploying Rasa Bot over Google Cloud Platform using Docker | Part1 #Setup") ](https://www.youtube.com/watch?v=9C1Km6xfdMA)

[![](https://img.youtube.com/vi/qOHszxJsuGs/maxresdefault.jpg "Deploying Rasa Bot over Google Cloud Platform using Docker | Part2 #Deployment") ](https://www.youtube.com/watch?v=qOHszxJsuGs)

It will take few days for you to understand it completely, please spend some time and you will learn bit about docker as well. This tutorial is very well explained.

Once you are able to run your bot and get a global IP. First of all make it static and then if you want to replace this IP with a proper URL name or some domain name (with HTTPS) then that guidance is given in below tutorial

> **[The Rasa Masterclass Handbook: Episode 11](https://rasa.com/blog/the-rasa-masterclass-handbook-episode-11/)**
>
> In this episode, we’ll make the assistant available to real users on two publicly accessible messaging channels: Telegram and a website chat widget.

Note - This would take good amount of time to understand and connect the pieces, so make sure to keep few days aside and understand this properly.

---

<div class="post-metadata">

**Author:** ![sumit2498](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sumit2498/32/10814_2.png) [@sumit2498](https://forum.rasa.com/u/sumit2498)\
**Post date:** [October 21, 2020, 3:48am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/6 "2020-10-21T03:48:20Z")

</div>

Will you share the dockerfile and docker compose file?

---

<div class="post-metadata">

**Author:** ![analyticalgagan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/analyticalgagan/32/10640_2.png) [@analyticalgagan](https://forum.rasa.com/u/analyticalgagan)\
**Post date:** [October 22, 2020, 9:57am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/7 "2020-10-22T09:57:05Z")

</div>

Hello @sumit2498

In my case I had done following extra things

1. I haven’t published UI code in same project (it is separate)
2. I had taken domain name from [godaddy.com](http://godaddy.com) and issued certificates from certbot 2.1) so you will see port 443 in nginx file & steps to copy certificates 2.2) Also extra step has been added in docker-compose for certificates & port 443
3. I have logic in my bot to connect to azure SQL and hence you will see some packages present in actions Docker file

[requirements-actions.txt](https://forum.rasa.com/uploads/short-url/6u4klPKXwCDmjGC0x9ZPVch8PB4.txt) (73 Bytes) [docker-compose.yml](https://forum.rasa.com/uploads/short-url/zVwePBwgE8lUyqxNV5TKRTKC3tF.yml) (785 Bytes) [Dockerfile](https://forum.rasa.com/uploads/short-url/bdGMjOxmNWWBiaDqAi9m21g3vBz) (987 Bytes) [nginx.conf](https://forum.rasa.com/uploads/short-url/lQlshUsdiuDFET4FOiEGoDk1Dmq.conf) (856 Bytes)

In case you need more help you can write to me directly at [analyticalgagan@gmail.com](mailto:analyticalgagan@gmail.com) and then we can connect.

---

<div class="post-metadata">

**Author:** ![sumit2498](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sumit2498/32/10814_2.png) [@sumit2498](https://forum.rasa.com/u/sumit2498)\
**Post date:** [October 22, 2020, 10:19am UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/8 "2020-10-22T10:19:56Z")

</div>

@analyticalgagan sure! Thanks for helping. i’ll reach out to you directly on your email if required

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [December 22, 2021, 5:17pm UTC](https://forum.rasa.com/t/need-help-to-deploy-rasa-bot-to-azure-aws/31537/10 "2021-12-22T17:17:42Z")

</div>

@analyticalgagan Hi …I am trying to deploy my rasa bot in azure app services…Could you please help me out?
