0:01
hello and welcome back to our channel
0:03
are you ready to master azur command
0:05
line magic in this tutorial I will show
0:08
you step by step how to create a virtual
0:10
Network or wiet in aure using a command
0:15
whether you are new to as your CLI or
0:17
looking to sharpen your skills this
0:19
video has you covered stick around and
0:21
let's dive in what is wiet and why it is
0:24
important vet stands for virtual Network
0:27
as the name suggests this service allows
0:29
you to create Network infrastructure in
0:31
your Cloud vet allows you to securely
0:34
connect the resources like virtual
0:35
machines container databases and
0:38
enabling seamless communication think of
0:40
it as the backbone of your Azo
0:43
networking before we begin make sure you
0:45
have following things in place an active
0:48
Azure subscription Azor C installed on
0:51
your machine check out my video on how
0:53
to install aor C Link in the description
0:57
you should be logged in using the
1:00
ready let's get started in this tutorial
1:04
I will set up this network
1:07
infrastructure under this subscription I
1:09
will be creating a resource Group Dev
1:12
hyphen Labs hyphen RG under this
1:15
Resource Group I will create a virtual
1:17
Network or vet with the name Dev hyphen
1:21
meain hyphen vnet this vet will have
1:24
this address space under this wiet I
1:27
will create two subnets app subnet and
1:30
DV subnet app subnet will be using this
1:33
address space and DV subnet will be
1:36
using this address space these address
1:38
space are coming from the main uh vet
1:43
space important point to note here
1:46
always plan your address space to avoid
1:48
overlaps with existing networks in case
1:51
you are planning to have sight toight
1:53
VPN for this wiet consult with on Prime
1:57
network engineer before deciding the
2:03
started as per our Network diagram let's
2:05
create a resource Group Dev hyphen Labs
2:10
RG for that we need to run the command
2:18
create in case you are not sure about
2:21
the exact Syntax for that you can take a
2:26
help in the last you will get one
2:31
so as per this example hyphen L is for
2:34
location hyphen n is for the name of the
2:40
Group my Resource Group name
2:44
is Dev hph Labs hyphen RG location is s
3:01
enter this output confirms that Resource
3:04
Group has been created successfully next
3:06
create a vnet under this Resource Group
3:09
for that we need to run the command a
3:16
create again if you are not sure about
3:18
the syntax use hyph iph help and get the
3:23
syntax let me copy this come hand
3:31
all right let's replace this parameters
3:57
enter output confirms that provisioning
4:00
of this vet in this Resource Group is
4:04
succeeded next we will be creating two
4:06
subnets but before that let's list the
4:09
endpoint services for the vnet that I
4:12
can attach to my uh subnets for that you
4:30
so in East Us locations these endpoint
4:34
supported so let's assume I want to use
4:38
first two endpoint services in the
4:41
subnets now create the
4:44
subnet for that you need to run the
5:09
command so this command will create a
5:13
subnet under the resource
5:17
Group Dev hyph Labs RG and the main
5:22
vnet this subnet will be using service
5:26
endpoints like Microsoft storage and
5:30
microsoft. SQL it means the request
5:34
towards these services from this subnet
5:37
will always be over the private
5:48
enter the output confirms that subnet
5:50
has been created successfully along with
5:57
points now create a second
6:14
subnet this command will create a DB
6:17
hyphen subnet with this address space
6:20
under the resource Group Dev hyphen Labs
6:26
wiet and this will this subnet also
6:29
using service end points like storage
6:40
enter perfect output shows that
6:43
provisioning of this subnet is succeeded
6:46
it means it has been created
6:48
successfully along with the service end
6:56
points now validate the vnet and its
7:00
let me clear the screen
7:02
first run the command easy
7:05
Network this command will show the
7:07
details about the dev hyen mean vet
7:11
which is created under Dev hyen Labs RG
7:19
enter as per the output we have created
7:23
a d and meain vnet with this address
7:26
space under this vnet we have two
7:28
subnets app hyph subnet and DB hyphen
7:33
subnet so this appor subnet is using
7:38
address space and for DB
7:47
space and you can see in these subnets
7:50
they are using service end points that
7:52
is microsoft. storage and microsoft. SQL
7:56
all right that's all from this video
7:58
tutorial I hope you have found it useful
8:01
and informative please do like the video
8:03
and subscribe to our channel for more
8:05
Tech tutorials like this thank you bye
8:08
have a nice day see you in the next