What is Azure Resource Group? Creation and Deletion Process Step by Step Guide

In the Azure portal, to create any resource, be it a VM, Disk, or Storage Account, the Azure Resource Group, is mandatory. Every Resource/Instance created will be linked to a Resource Group. So you can define it as a Group created to centrally manage the resources that we create, similar to AD Groups. If you go by Microsoft Definition, you can call it a container containing all the resources created.

One should always allocate resources to the resource group of the same category as a best practice though it is not mandatory. For Example, all IT resources under one Resource group and resources of HR Employees under one group, and so on. It will only make the life of the admins easier when they manage it to deploy, update and delete them as a Group.

Below are some of the points to keep in mind while creating a Resource Group:

  • Name of the group should be unique : when you create a Resource Group in public cloud it should not be matching with any other resource group.
  • Group Renaming is not allowed : Once a group is created you cannot rename it. Hence an admin should be cautious of the naming conventions to be followed while creating the group.
  • Group can have different types of resources: A group can have different types of resources i.e. VM, Disk, DB etc. Any resource available in the portal can be allocated to a Group
  • Groups can have resources from different regions : You can allocate resources from different regions. For example a resource from East US region and a resource from West US Region.

Prerequisites for Azure Resource Group

Let’s check the prerequisites for Azure Resource Group.

  • Azure account with valid subscription
  • A browser
  • Internet connection

NOTE! There is no cost for creating a Resource Group. It is Zero Cost.

Creation and Deletion of Resource Group

Let’s check how to create and delete resource groups.

  1. Sign into Azure Portal
  2. Open the Navigation Panel by Clicking on top left Corner.
What is Azure Resource Group? Creation and Deletion
What are Azure Resource Groups? Creation and Deletion

3. Click on Resource Groups as shown from the Navigation Panel.

What is Azure Resource Group? Creation and Deletion
What are Azure Resource Groups? Creation and Deletion

4. Click on Create.

What is Azure Resource Group? Creation and Deletion
What are Azure Resource Groups? Creation and Deletion

5. Select Subscription, Region, and provide a Name to the group.

What is Azure Resource Group? Creation and Deletion
What are Azure Resource Groups? Creation and Deletion

6. Click on Review + create.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 1
What are Azure Resource Groups? Creation and Deletion

7. Once the validation is passed, you should see a create button. Click Create.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 2
What are Azure Resource Groups? Creation and Deletion

8. You can check the progress in the notification bar on the top right corner, as shown below. Once finished, you should see a notification that the creation of the group is complete.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 3
What are Azure Resource Groups? Creation and Deletion

9. If you click on the go-to resource group, you should see the list of all the groups that have been created in the portal. You can click on the group to open and see the available operations to perform within a group.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 4
What are Azure Resource Groups? Creation and Deletion

10. As you can see, the list of operations includes create, edit columns, refresh, etc. let’s go ahead and try creating a new resource. So, click on create.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 5
What are Azure Resource Groups? Creation and Deletion

11. I will select the first available option for testing purposes which is “Windows Server 2019 Datacenter,” and it will create a Virtual Machine.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 6
What are Azure Resource Groups? Creation and Deletion

12. You should see that the name of the resource group is already allocated because you are trying to create the resource from within the group. You can change the allocation as needed or even create a new one if you like. That is how you create a resource group, now. Let’s take a look at how to delete a resource group.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 7
What are Azure Resource Groups? Creation and Deletion

13. From the Navigation panel, if you go to the group as mentioned in Step 10, you should see a list of available actions in which delete is also a part of it, as you see below. Go ahead and click on “Delete Resource Group.”

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 8
What are Azure Resource Groups? Creation and Deletion

14. To prevent accidental deletion of the resource group, Microsoft has put in a check. you have to enter the name of the resource group precisely to delete the group and then click on “Delete.”

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 9
What are Azure Resource Groups? Creation and Deletion

15. Once successfully deleted, you should see a notification that it is successfully deleted.

What is Azure Resource Group? Creation and Deletion Process Step by Step Guide 10
What are Azure Resource Groups? Creation and Deletion

NOTE! If you delete a Resource Group, all the resources linked to the group will also be deleted.

Resources

Leave a Comment