Deploying
First, we need to create some resources before we can view them in Visual Studio.
Azure resource creation
Let’s deploy your Function to production! To do so, create a new Consumption Linux Function and follow these steps:
- Go to https://portal.azure.com and create a new resource group if you don’t have one already:
Figure 6.9 – Creating a new resource group
Place it in an Azure region geographically close to you. We’ll use this same region when we create other resources to minimize lag and potential bandwidth. Click on the Review + create tab, then Create:
Figure 6.10 – Successfully creating a new resource group
- Inside this resource group, create a new Function app:
Figure 6.11 – Creating a new resource inside the resource group
- Search for
function
if you don’t see it in the default selection. Select Create...