Watch new demos of how to deploy Node.js apps to Azure App Service
Published Aug 11 2022 06:00 AM 4,437 Views

Check out this new series of demo videos for Node.js developers. These demos from Azure engineering help you learn how to deploy a Node web app to App Service using VSCode, how to use Azure Monitor to analyze logs and metrics, and other scenarios—with example code referenced throughout to help ground the information. 


Hands-On: Modernize Node.js applications with Azure App Service

If you are currently running applications in Node.js and considering migrating them to Azure App Service, the process is more straightforward than you might think. To help, we created a playlist of hands-on videos that show you how to build and deploy applications to Azure App Service together, with our experts Natalia Venditto and Jason Freeberg, who will take you through the entire process:  


Video #1: Introduction and Deploying a Node web app from VSCode to App Service


Contoso Corporation, our example here, is a growing multinational business that requires a scalable solution for its HR rentals application to help relocate employees. Watch Natalia create and build a web app directly from VS Code using the Azure App Service extension and deploy it to Azure without ever leaving the integrated development environment (IDE).  If you wish to experiment alongside us using the GitHub code repo and pre-requisites mentioned in the video, sign up for a free trial subscription to Azure.  


Your view may look slightly different from the tutorial video depending on your App Service extensions. To provide you with an even more cohesive and consolidated developer experience, the Azure App Service extension is now part of the Azure Tools extension view. Install the new extension to try it out.  


Video #2: How to add CosmosDB and Blob Storage for your Node web app 


Natalia adds a database, CosmosDB, and Blob Storage (containers, file shares, queues, and tables) to her Node web app and creates rental listings and store images for Contoso Corporation’s HR rental app – all from the VSCode editor and GitHub.


Video #3: How to use Azure App Service to configure autoscaling   


Jason sets up autoscaling rules for Contoso Corporation’s HR rental listings application, so it scales out horizontally to more instances when it receives requests. Learn how to set a scale rule based on a metric in the Azure portal. Check thresholds, set duration, and calibrate instances. Then, he tests it using a shell command (Apache Benchmark).    


Video #4: Creating deployment slots (aka, staging environments)   


Jason creates an App Service deployment slot (aka, staging environment) to make changes to his Node web app in Azure App Service and update Contoso Corporation’s HR rental listings app without any downtime. Learn how to test and preview staging content in real-time before rolling it out into production  


Video #5: Use Static Web Apps to add a blog and link it to your Node web app  


Contoso Corporation’s product owner needs to add a blog feature to promote the HR rental listing application at the next company all-hands meeting. Watch as Natalia decouples this feature, creates an SSG blog site using Next.js, and deploys it to our Static Web Apps service that links to the Node web app in Azure App Service.


Video #6: Use Azure Monitor to analyze logs and metrics for your Node web app  


Contoso Corporation’s product owner and development team want the ability to run queries to diagnose problems and see how their end users are leveraging their application. In the final video of the series, Jason uses Log Analytics to run log queries and identify trends and patterns while monitoring both the health and impact of the application. 


Azure App Service can support your Node.js development needs 

Azure App Service is a fully managed platform-as-a-service (PaaS) that includes first-class support making it ideal for you to build and deploy mission-critical applications faster, and scale together with your requirements and business: 

  • Utilizes a familiar interface for Node.js developers 
  • Leverages an environment designed with Node.js (and other languages) runtime in mind 
  • Provides tools, dependencies, and services to build and deploy your applications (tooling, access package manager, hosting repo service, and satellite services) so you don’t have to 
  • Includes built-in monitoring using Azure Application Insights for Node.js  

With Azure App Service, you can bring the entire power of Microsoft Azure to your Node.js applications without spending precious developer resources on managing the underlying infrastructure. You can also take advantage of its DevOps capabilities, such as continuous integration and continuous deployment (CI/CD) from Azure DevOps, GitHub, Docker Hub, and other sources, built-in monitoring, staging environments, custom domain, and strong TLS/SSL encryption. With platform services from Azure, you can offload routine but critical tasks such as security, load balancing, autoscaling, and automated OS management to the platform.  


Next steps 

Learn more about creating a Node.js web app in Azure in this Quickstart guide. You can find the pre-requisites and code repo mentioned in the video on GitHub. To give it a try, sign up for an Azure free account, which gives you access to dozens of free services, including App Service. This is also a great time to explore other Azure cloud capabilities and use the $200 credit that you get with the Azure free account. 


If you have any questions or feedback, add a comment or follow me on Twitter @mayunkj  

Version history
Last update:
‎Aug 12 2022 11:10 AM
Updated by: