Let's not see what our actual resource group and natural resource manager,
actual resource manager or also called arm, is a set of features that allow you to organize, deploy and protect. Resource is, for example, you can use actual resource groups and tax to organize Resource is
arm templates to deploy resources or resource locks to protect resources from modification or delusion.
Let's look at doors in more details.
I shall. Resource groups are logical containers for resource is deporting nausea.
Every resource in national must belong to a single resource group
Resource group are created within subscription and used to organize. The resource is in a single subscription.
You can move. Resource is between resource group. If you determine the their placement is not appropriate.
It is. Those groups are also used to apply. It all pays taxes, control permissions for easier access management.
If you delete a resource group, all the sources within are also dilated.
This makes it easy to clean up temporary environments, for example, but can also be dangerous. If someone deletes a production resource group,
we'll see how we can protect from such mistakes Later In the model,
you can create resource groups in several different ways. Using the Porto using Asher Power Shell using actual CLI using blueprints and using azure sdk.
Let's he how we can create a resource group in the portal.
It is how you create a resource group in azure portal.
You can start either by clicking on resource groups are going toe. All service is in searching for resource group.
When you click on the resource group,
the new blade opens up
and you can click on the button out.
Next, you will be asked to specify the subscription where you want this resource group created.
That's what was the name I'll call it Cyber Eri.
and the region where you want this resource group created.
Selecting the region for the resource group doesn't require that all the sources are in the same region. This is just the region for the resource group where the actual object the sisters group object is created.
You can click on the review and then you can click on Create to create the resource Group.
Now the resource group is created. We can go there and let's create also one resource in this resource group.
Oh, click on at Resource
and I'll such marketplace. Let's try to create a virtual network,
now select Virtual Network
and click on the Create bottom.
I can specify the virtual network or the name of the virtual network. Lets say it will be a cyber, very
You can choose the other space so that the spaces see idea that came here.
slash eight point above. So I'll say 10 000 slash eight.
The subscription is the same. The resource group is the same. The location is pre populated automatically by the resource group.
I can change that if I want to put my veen it in a different location.
It you're automatically needs to create also a t least one certain it. You can call it default and you can choose Arrange for the sub net.
Let's say, uh, one's digital 24
and I can click on Create
in the virtual network will be soon created and placed in my resource group.
You can go back toe resource groups,
and you will see that your resource group is already available.
you should see the resource is once they are created. The virtual network is still in creation. You can check the notifications, and it's still see that, he says, is deployment in progress.
We can wait a few minutes
after a minute or so divinities created. You can click on the refresh button, and you can see your newly created Vinet.
As we mentioned, you can use actual resource groups for resource organization.
There is no one right mated for organization in it will depend on your needs. But here are some guidelines.
First, develop a consistent naming convention for your resource groups.
For example, Cyber Re Marketing Front and RG is much more meaningful than resource Group one.
The name of the resource group should give an indication what the resource group is used for
in this case, cyber, very marketing.
And what are the resource is in it in this case, front end.
The Archie part is just the type of resource from azure resource manager point of view. The resource group is just another resource.
There are many different ways to organize. Your resource is
you can use resource types. For example,
he and we have three sources organized by type using, networking, security, compute and databases.
You can use development life cycle for organization Here we have naming based on environments development, testing, production
you can organize Resource is by department marketing finance. Human resource is etcetera.
You can also combine those strategy. For example, you can have department and development lifecycle together
when you think about your organization. Also, think about who need access to those
in our last example. The Marketing I T department won't have access to the market in production Resource group.
While the development team won't have access to the marketing, development and marketing test resource groups,
you can also apply different policies to each one of the resource groups
you can also organize. The resource is resource groups by life cycle. If you carefully sources for temporary project, you may want to group them together so you can delete them at once.
Last but not least, you can know organize the resource is for billing purposes.
This way, you can give detailed spending information for each one of your environments in the marketing department