In this blog and in our next few blogs, you will learn,
- How to deploy rasa chatbot to Microsoft Azure?
- How to create a VM instance on Microsoft Azure?
- How to install rasa x inside VM instance on Microsoft Azure?
- How to create an inbound ports for the VM instance on Microsoft Azure?
- How to link the git repository of rasa chatbot to rasa x on VM instance on Microsoft Azure?
- How to link the action server to the rasa x on VM instance on Microsoft Azure?
- How to install the custom dependencies for action server on Vm instance of Microsoft azure?
All the above topics will be covered in this blog and in our next few blogs so as to explain you completely about the deployment of the rasa chatbot to Microsoft Azure.
Deploy Rasa Chatbot to Microsoft Azure
For the deployment of rasa chatbot on Microsoft azure, firstly we must have a Microsoft Azure account so that we can create VM instance and to further install rasa chatbot inside it to make your chatbot live globally. To create an account on Microsoft Azure go to Microsoft Azure and create you account for free. Microsoft Azure gives a credit of $200 for creating a new account, so you can use that account for the learning or the deployment for production. This is how the website will look like,
Now, to create an account either click on Start free or Buy now, and fill up the details to create an account. Once you have successfully created the account you will be taken inside the account and this is how it will look like,
Creating a VM instance on Microsoft Azure
Now that we have the Microsoft Azure account, so now we can create a VM instance to deploy rasa chatbot. For that on the top search for Virtual Machines and click on it. Now it will redirect you to the VM instance page. On this page you will get the list of all the VM instances that you will create.
Now let’s create a new VM instance, for that Click on Add and select Virtual Machines. Now you will be redirected to the next page and it will ask you to fill all the details to create the instance. Select and fill up the options as shown below(in my case I have selected Ubuntu 18.04 as the VM instance operating system).
Here, you have an option to select the Authentication type, you can choose how you want to login to the operating system you selected. In our case we’ll login with the username and password. Also, select the inbound port that you want to set for the VM instance to access. If you want you can select here or we can create it later.Now click next and follow the options asked to you as shown here,
Also check this video for more clarification,
From the above steps, it will clear to you that what are the options you have to select to create a VM instance. We have the VM instance created. Now we can check that whether we can remotely access the instance created through SSH or no. To remotely access it we need a software that can remotely access it and on ubuntu we have “remmina” that can be used to remotely access and modify it. Now open Remmina and select SSH, then type the public IP address of the instance that we have just created.
Now, you can see that we have successfully created our virtual machine and we can have remote access to it too. Now you can write the commands and install rasa x inside the instance. That we will cover in our next blog.
Time to wrap up now. Hope you liked our content on How to create the VM instance on Microsoft Azure. See you in our next blog, thanks for reading our blog and do leave a comment below to help us improve the content to serve you all of our experience with you. Stay tuned with us for more rasa chatbot contents.