The first step you have to take when you deploy your Azure Function is creating the host environment that keeps your function alive. This environment is a function app.
You can imagine the function app as the serverless view of an App Service: it hosts your code and gives you a bunch of features that you can use to deploy, monitor, and configure your Azure Function.
When you decide to create a function app, you need the following resources:
- The function app itself.
- A storage account that stores your code. This is mandatory because your code needs a place to be saved.
- An Application Insight component. This isn't mandatory; you will need it only if you want to monitor your code. We will talk more deeply about ...