Deploy to Azure using Azure Functions
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.
To enable local debugging, you need to install the Azure Functions Core Tools.
On macOS, install using Homebrew.
$ brew tap azure/functions $ brew install azure-functions-core-tools
On Windows, install using npm.
$ npm install -g azure-functions-core-tools@core
On Linux, follow the instructions in the Azure Functions Core Tools GitHub repository.
Install the extension
The Azure Functions extension is used to create, manage, and deploy Functions Apps on Azure.
Once the extension is installed, log into your Azure account - in the Actvity Bar, click on the Azure logo to show the Azure Functions explorer. Click Sign in to Azure... and follow the instructions.
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 FUNCTIONS explorer.
Verify that you have the Azure Functions tools installed by opening a terminal (or PowerShell/Command Prompt) and running
$ func %%%%%% %%%%%% @ %%%%%% @ @@ %%%%%% @@ @@@ %%%%%%%%%%% @@@ @@ %%%%%%%%%% @@ @@ %%%% @@ @@ %%% @@ @@ %% @@ %% % Azure Functions Core Tools (2.0.1-beta.22) Function Runtime Version: 2.0.11415.0