Let's see first, how can we create a function up in Azure?
I will switch to my browser and use the actual management portal to create the function app.
I already have a research group created in National. I will use this restores group to create my functional.
We'll start by clicking on the add button
and searching for function up.
Don't select the function up classic. This is the legacy implementation of the civil List service and you won't get the latest features with it.
We will select function app and click on the create button.
Next will need toe feeling the basic information about the actual function.
The subscription and the resource group are already created.
Next. What we need to do is select the name for the function up.
cyber every function
as a function. Of course,
Then we'll need to select How will we publish our function?
We need to just between publishing a coat or docker container, I will leave the default option, which is publishing a cult.
The next thing that we need to juices the runtime stack.
So for this function, Ivo, choose dot net core, but as you can see, you can have other options like no Js for fight on Java or Power Shell Corps,
and the last thing on the screen is to choose the region. I will select the one that is closest to May that will be us West to
we click on the next button, and in this
screen we need to select the hosting options.
The first thing is the storage account. As we discussed previously in our models,
I will create a new storage account with a little bit more meaningful name
on. I will call it Cyber Very
Actual function cores
We need to select also the operating system that we want to use for running our function. Having in mind this is a function on general doesn't matter, but you can choose between Windows and Linux box.
I chose dot net core and now choose windows for thes thes particular function.
The last thing on the screen is the plan that we would like to use for for our function
as you remember, they were the consumption plan, the premium plan in the up service plan, keeping in mind that this is just for demo and training purposes, I'll choose the cheapest option of our ball, which is the consumption park plan.
Next, we need to choose the monitoring options for our function. Actual functions have integration with azure application insights,
and you can look and monitor your function using actual application insights.
In order to integrate it, you need to have application insights. Instance.
They proposed to create one for you with the default name.
I will choose a different name for mine. I will call it Sai Buri
Azure function course
again in West U. S. Which will be the closest to my function.
I can choose to not integrate my function with the application insights. If I select no, that means that no instance will be created for application insides.
And also my function will not have the ability toe logging, lock and monitor. Um,
in store monitoring metric in application insights. I woke hardly recommend always to use monitoring and longing for your functions because this is the kind of the only way that you can travel. Shut your functions when you are running them in the club.
Next will be tax tagging any resource The national is ah,
the best practice guidelines,
I will select just a few here. Let's say that will be application. Cyber recourse and business owner will be my name. And let's say version will be
The last thing we need to do is review our choices and click on the create button.
In just a few minutes, the function will be create,
created, and we can look at what resources are available.
We have our azure function up created. Now let's go and see what things have being created by Asher.
As you can see, we have the AB service plan that we chose as part of the Wizard.
This UPS service plan contains the Function AMP
where you can create
the functions. We also have the storage account that is used actually for publishing the functions, and we have one more additional resource, which is the application insights instance that will be used to monitor and locked data from the function.
Now we have a function happy Nasher that we can use to create our functions