How to deploy rasa server on VM

I am trying to deploy rasa on Virtual Machine. I want to access it using the public IP of VM. Is there any way?