Deployment Issues on AWS

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.