[Draft]Creating a Resource Group in Azure Cloud

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:

  1. Azure Portal
  2. Azure CLI
  3. Azure PowerShell

Creating a Resource Group using the Azure Portal

To create a Resource Group using the Azure Portal, follow the below steps:

  1. Log in to the Azure Portal.

    Azure Portal URL : https://portal.azure.com

  2. Click Resource groups from the portal menu.

    AzurePortalStep2

  3. Click Add under Resource groups pane.

    AzurePortalStep3

  4. Enter the Project details and Resource details.

    AzurePortalStep4

    1. Select the Azure Subscription from the dropdown list where you want to create the Resource Group.
    2. Enter the name for your Resource Group.
    3. Select the Region from the dropdown list where you want to create the Resource Group.

      AzurePortalStep4123

  5. Click button if you want to apply any Tags to the Resource Group. Otherwise, skip to Step 7.
  6. Enter Tag Name(s) and corresponding values.

    AzurePortalStep6

  7. Click ReviewCreateButton button. This will review the configuration and displays whether it passed or failed the Validation.

    AzurePortalStep7

  8. If the message is Validation passed, click CreateButton button to initiate the Resource Group creation.
  9. On the top right-hand corner a notification will pop-up and confirm if the Resource Group creation is completed.

    AzurePortalStep9

  10. Click on the GoToResourceGroupButton button to go to the Resource Group created.
  11. You have successfully created a Resource Group using Azure Portal.

    AzurePortalStep11

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:

Share

Add a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.