Before jumping in to Resource Group creation steps, let us understand what is a Resource Group and what are the key point to consider.
Jump to Creation Steps
What is a Resource Group?
A Resource Group is a container that is used to hold all the related resources for an Azure solution. It can also be used to hold the resources which you want to manage as a group.
A Resource Group stores metadata about the all the resources under it based on the region specified during the creation of that resource group. Even though the resources under a resource group can have different regions, you will not be able to update those resources if the resource group’s region is unavailable as the metadata will also be unavailable. You can continue to use those resources, but you need to wait for the resource group region to be available for updating the resources.
Key Points to Consider:
- You need to have an active Azure subscription to create a Resource Group in Azure Cloud.
- Access control can be scoped using a Resource Group for administrative tasks.
- There is no cost for creating or using a Resource Group.
- You cannot create a Resource Group under another Resource Group. Nested Resource Groups are not supported in Azure Cloud.
- The limit for Resource Groups under a single Azure subscription is 980.
- Even though there is no limit on how many resources you can have under a single Resource Group, there is a limit based on resource type. The default limit is 800 instances of a resource type per Resource Group with few exceptions. For more details, refer Microsoft Docs : Resources not limited to 800 instances per resource group.
- Deployments per Resource Group in the deployment history is limited to 800.
- Resources per deployment is limited to 800.
- You can add only 50 tags to a Resource Group with a maximum key length of 512 and a maximum value length of 256 characters for each tag.
Creating a Resource Group
You can create a Resource Group using different methods. In this article, we are focusing on Resource Group creation using:
- Azure Portal
- Azure CLI
- Azure PowerShell
Creating a Resource Group using the Azure Portal
To create a Resource Group using the Azure Portal, follow the below steps:
- Log in to the Azure Portal.
Azure Portal URL : https://portal.azure.com
- Click Resource groups from the portal menu.
- Click Add under Resource groups pane.
- Enter the Project details and Resource details.
- Select the Azure Subscription from the dropdown list where you want to create the Resource Group.
- Enter the name for your Resource Group.
- Select the Region from the dropdown list where you want to create the Resource Group.
- Click button if you want to apply any Tags to the Resource Group. Otherwise, skip to Step 7.
- Enter Tag Name(s) and corresponding values.
- Click button. This will review the configuration and displays whether it passed or failed the Validation.
- If the message is Validation passed, click button to initiate the Resource Group creation.
- On the top right-hand corner a notification will pop-up and confirm if the Resource Group creation is completed.
- Click on the button to go to the Resource Group created.
- You have successfully created a Resource Group using Azure Portal.
Creating a Resource Group using the Azure CLI
To create a Resource Group using the Azure CLI, follow the below steps:
Creating a Resource Group using the Azure PowerShell
To create a Resource Group using the Azure PowerShell, follow the below steps: