Time
1 hour
Difficulty
Beginner
CEU/CPE
1

Video Transcription

00:02
Let's see first, how can we create a function up in Azure?
00:07
I will switch to my browser and use the actual management portal to create the function app.
00:15
I already have a research group created in National. I will use this restores group to create my functional.
00:22
We'll start by clicking on the add button
00:25
and searching for function up.
00:29
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.
00:39
We will select function app and click on the create button.
00:45
Next will need toe feeling the basic information about the actual function.
00:50
The subscription and the resource group are already created.
00:54
Next. What we need to do is select the name for the function up.
00:59
I will type
01:00
cyber every function
01:03
as a function. Of course,
01:07
Then we'll need to select How will we publish our function?
01:12
We need to just between publishing a coat or docker container, I will leave the default option, which is publishing a cult.
01:21
The next thing that we need to juices the runtime stack.
01:25
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,
01:36
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
01:46
we click on the next button, and in this
01:49
screen we need to select the hosting options.
01:53
The first thing is the storage account. As we discussed previously in our models,
02:00
I will create a new storage account with a little bit more meaningful name
02:05
on. I will call it Cyber Very
02:08
Storage,
02:10
Actual function cores
02:14
storage account.
02:16
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.
02:30
I chose dot net core and now choose windows for thes thes particular function.
02:38
The last thing on the screen is the plan that we would like to use for for our function
02:44
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.
02:58
Next, we need to choose the monitoring options for our function. Actual functions have integration with azure application insights,
03:07
and you can look and monitor your function using actual application insights.
03:13
In order to integrate it, you need to have application insights. Instance.
03:17
They proposed to create one for you with the default name.
03:23
I will choose a different name for mine. I will call it Sai Buri
03:29
up Insides
03:31
Azure function course
03:35
again in West U. S. Which will be the closest to my function.
03:38
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.
03:50
And also my function will not have the ability toe logging, lock and monitor. Um,
03:57
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.
04:13
Next will be tax tagging any resource The national is ah,
04:19
the best practice guidelines,
04:24
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
04:33
10
04:35
The last thing we need to do is review our choices and click on the create button.
04:42
In just a few minutes, the function will be create,
04:46
created, and we can look at what resources are available.
04:51
We have our azure function up created. Now let's go and see what things have being created by Asher.
05:00
As you can see, we have the AB service plan that we chose as part of the Wizard.
05:08
This UPS service plan contains the Function AMP
05:12
where you can create
05:14
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.
05:30
Now we have a function happy Nasher that we can use to create our functions

Up Next

Azure Functions

This Azure Functions course explains the core concepts of serverless services in Azure, how to develop functions that use different triggers and how to secure access of Azure Functions and manage configuration secrets.

Instructed By

Instructor Profile Image
Toddy Mladenov
Instructor