Ankur
Ankur

Reputation: 3199

Azure : Deploy Angular(Front-End) & Node (Back-End) app without VM

I am new to Azure. I have never used azure. So don't mind if this is some silly question.

I have a client who also doesn't know much about deploying.

I have angular/node apps. He wants to host on Azure WITHOUT using a VM.

I am not sure about azure. So i don't know how to deploy without VM.

I know to deploy with RDP(Remote Desktop).

Can anyone help me with this. Is there a way to deploy angular & node app without VM?

Is there any specific documentation for it? Which services will i need in Azure?

Thanks in advance!

Upvotes: 0

Views: 1419

Answers (2)

technogeek1995
technogeek1995

Reputation: 3444

Jay Gong posted a great answer for hosting on Azure. However, you might want to ask your client if s/he means s/he wants a micro services architecture. For more information on micro services, check out this link.

The other viable option would be an App Service (which is an Azure service that manages deployment and abstracts a lot away, but there's a VM under the hood)? Without a VM for hosting, it would be rather difficult to do anything in the cloud on Azure - the only other option is local hosting, which would be without Azure. I would argue that it ruins the purpose of using cloud services, as it seems your client is confused.

Upvotes: 0

Jay Gong
Jay Gong

Reputation: 23782

Except Azure VM, there are normally two ways to deploy Node.js app on Azure which include App Service - Web Apps and Web Apps for Containers, please see the links below to know these guides.

For deploying Node.js app on Azure Web Apps.

  1. Create a Node.js web app in Azure
  2. Tutorial: Build a Node.js and MongoDB web app in Azure
  3. To deploy the app with a ZIP file, or via FTP, cloud sync, or deploy continuously, or from local Git, etc. You can see more at the left sidebar of these pages.

For deploying Node.js app on Azure Web App for Containers, it's a simple way to deploy the app on Azure as similiar as on local docker.

  1. Create a Node.js web app in Azure App Service on Linux
  2. Build a Node.js and MongoDB web app in Azure App Service on Linux
  3. To deploy via FTP, cloud sync, or deploy continuously, or from local git, etc. Also, you can see more at the left sidebar of these pages.

Some important tools will help deploying easier.

  1. Deploy via VSCode, you can refer to these offical documents for WebApp(App Services) or Container(Docker Images).
  2. To deploy on WebApp not Container, Kudu is a common tool for debuging and deployment. Meanwhile, for Node.js app, we need to use iisnode to connect IIS as revese proxy for your app, and configure the web.config file via follow the kudu wiki document. The Kudu wiki is very useful and valuable for new to Azure.

There are more details for this topic which can not be listed one by one at here, but the above these are necessary. The offical guide for Javascript developers is helpful for new to Azure.

Upvotes: 2

Related Questions