Search code examples
node.jsazurevirtual-machineazure-vm-scale-setazure-vm

how to host nodejs api application on azure virtual machine?


I am new to Azure virtual machine and in hosting world. I have created a nodejs api application, and now I want to host it on virtual machine. I have create a virtual machine too, but I have no idea on how to host my nodejs project which is on my local system to azure vm. Please can anyone help?


Solution

  • To deploy node.js application to Azure VM we need to have following perquisite :

    • Node.js installed on your system (version >= 10.3)
    • Azure account
    • A CircleCI account
    • A GitHub account
    • Azure CLI installed on your system (version >= 10)

    Then need to Set-up a virtual machine on Azure to run Node.js.

    For complete information please refer to this BLOG : Continuous deployment of Node.js to Azure VM & GitHub: Deploy a Node.js application to Linux Virtual Machines in Azure