CREATING VM INSTANCE | EASY DEPLOYMENT OF RASA CHATBOT TO MICROSOFT AZURE | PART 1

Screenshot from 2021 05 08 13 28 01 e1620460778135 VM instance
0
0

OVERVIEW

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,

Screenshot from 2021 05 08 11 54 13 VM instance

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,

Screenshot from 2021 05 08 12 00 50 VM instance

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.

  • Screenshot from 2021 05 08 12 09 40 VM instance
  • VM instance list | Innovate Youself

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).

  • Screenshot from 2021 05 08 12 23 21 VM instance
  • Screenshot from 2021 05 08 12 24 21 VM instance

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,

  • Creating the VM instance | Innovate Yourself
  • Screenshot from 2021 05 08 12 54 47 VM instance
  • Screenshot from 2021 05 08 12 54 59 VM instance
  • Screenshot from 2021 05 08 12 55 17 VM instance
  • Screenshot from 2021 05 08 12 55 27 VM instance
  • Screenshot from 2021 05 08 12 55 44 VM instance
  • Screenshot from 2021 05 08 12 55 48 VM instance
  • Screenshot from 2021 05 08 12 56 18 VM instance
  • Screenshot from 2021 05 08 12 56 41 VM instance
  • Screenshot from 2021 05 08 12 57 54 VM instance
  • Screenshot from 2021 05 08 12 58 15 VM instance
  • Screenshot from 2021 05 08 12 58 21 VM instance
  • Screenshot from 2021 05 08 12 58 31 VM instance

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.

  • Screenshot from 2021 05 08 13 19 44 VM instance
  • Screenshot from 2021 05 08 13 19 53 VM instance
  • Remote access of VM instance | Innovate Yourself
  • Screenshot from 2021 05 08 13 23 17 VM instance

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.

Also check out our other playlist Rasa Chatbot, Internet of things, Docker, Python Programming, etc.
Become a member of our social family on youtube here.

One thought on “CREATING VM INSTANCE | EASY DEPLOYMENT OF RASA CHATBOT TO MICROSOFT AZURE | PART 1

Leave a Reply