Cloud Deployment of Bot - Rasa Open Source - Rasa Community Forum

Cloud Deployment of Bot

post by Chaitanya on Feb 26, 2019

Is there any way to deploy our bot into cloud , other than docker.

post by RarCeth on Feb 27, 2019

you can run the bot using the python command, specifying resources and port. E.g.

python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --port 5002 --credentials credentials.yml

The way I am doing it at the moment is to host it on an AWS EC2 windows server, with port XXXX opened with a custom domain through ngrok. (you could use normal ngrok, but any services that subscribe to it would need rebinding when you restart the server)

post by Chaitanya on Feb 28, 2019

Hi @RarCeth, Is that working permanently. or every time we need to run the command.

post by RarCeth on Feb 28, 2019

Running through command will run the server within the command prompt, for as long as it remains open. You close it, just run the command again to restart.

As for ngrok, on free it will only last 8 hours. I’m on the basic plan ($5 a month) and I get unlimited time + a subdomain. So if using free, you will need to rerun the ngrok command after 8 hours, and configure your services to the new address.