Publishing our Function App
Explore how to deploy Azure Function Apps using PowerShell commands and Visual Studio Code. Understand resource group creation, storage setup, and enabling real-time logging via multiple tools. This lesson guides you through publishing and monitoring your functions to complete the event-driven architecture deployment.
Publishing with PowerShell
Since we have already created the Function application locally, deploying to the cloud is a relatively simple process.
- We will first create our resource group for the Function app. We will name it
middleware-function-app-rgas we discussed earlier. - Next, we will create a storage account that the Function app will use. We will name it
middlewarefuncstore. - After creating our storage, we will create our function app in Azure. This can be done by using the
New-AzFunctionAppcommand. We will name itAzureValidationMiddleware. - Finally, we