Deploy to Azure using App Service
This tutorial walks you through deploying a Node.js application to Azure using the Azure App Service extension. You'll be able to deploy to Azure on Linux in a matter of minutes from Visual Studio Code.
If you don't have an Azure account, sign up today for a free 30-day account with $200 in Azure credits to try out any combination of services.
Install the extension
The Azure App Service extension is used to create, manage, and deploy Linux Web Apps on the Azure PaaS.
Once the extension is installed, log into your Azure account - in the AZURE APP SERVICE explorer, click Sign in to Azure... and follow the instructions.
If you see the error "Cannot find subscription with name [subscription ID]", this may be because you are behind a proxy and unable to reach the Azure API. Configure
HTTPS_PROXY environment variables with your proxy information in your terminal using
export HTTPS_PROXY=https://username:password@proxy:8080 export HTTP_PROXY=http://username:password@proxy:8080
If setting the environment variables doesn't correct the issue, contact us by clicking the I ran into an issue button below.
Before we continue, ensure that you have all the prerequisites installed and configured.
In VS Code, you should see your Azure email address in the Status Bar and your subscription in the AZURE APP SERVICE explorer.