Deployment Issues on AWS

Hello all. Please I need help with my rasa project as I am approaching a deadline.

I have successfully deployed my rasa project in an AWS Ubuntu instance that meets all the requirements. I could start my server with the following command rasa run -m models --enable-api --cors "" --debug* But when I connect the localhost url to my webchat, it doesn’t fire up. I have also tried to ping the server using the server ip, but all it returns is request timeout. Please help

Hi @ProjectCScore. I think this has to do with your server configuration. Not sure, but maybe this thread might be useful for you.

Agreed with @Juste that it sounds like server config issues. Are you trying to connect from your ubuntu instance command line to the localhost url or are you trying to reach the localhost from outisde of the server? You should see it if you’re SSH’d into the instance locally, but in order to open the server to the outside world, you need to run rasa run --port 80 and expose port 80 on your instance so the requests can pass through the VM into your rasa server.

Regardless, if you’re looking to deploy in a short time, I’d recommend this thread instead, in an Elastic Beanstalk multi-container platform. You’d just need to copy over those files into your repo, install and configure the elastic beansalk CLI, then run eb deploy and it should work.

Let me know if you have additional questions.