Use the Azure portal and Azure Resource Manager to manage resource groups

Learn how to use the Azure portal with Azure Resource Manager to manage Azure resource groups. See Manage Azure resources by using the Azure portal to learn more about managing Azure resources.

Note

This article provides steps about how to delete personal data from the device or service and can be used to support your obligations under the GDPR. For general information about GDPR, see the GDPR section of the Microsoft Trust Center and the GDPR section of the Service Trust portal.

What is a resource group

A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution or only those resources that you want to manage as a group. You decide how to allocate resources to resource groups based on what makes the most sense for your organization. Generally, add resources sharing the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.

The Azure portal uses the resource group scope to create views that span across multiple resources. For example:

  • Metrics blade provides metrics information (CPU, resources) to users.
  • Deployments blade shows the history of ARM template or Bicep deployments targeted to that resource group (which includes portal deployments).
  • Policy blade provides information related to the policies enforced on the resource group.
  • Diagnostics settings blade provides errors and warnings to review.

The resource group stores metadata about the resources. When you specify a location for the resource group, you're specifying where that metadata is stored. For compliance reasons, you might need to ensure that your data is stored in a particular region. Resources inside a resource group can be in different regions.

Create resource groups

  1. Sign in to the Azure portal.

  2. Select Resource groups.

  3. Select Create.

    Screenshot of the Azure portal with 'Resource groups' and 'Add' highlighted.

  4. Enter the following values:

    • Subscription: Select your Azure subscription.

    • Resource group: Enter a new resource group name.

    • Region: Select an Azure location such as Central US.

      Screenshot of the Create Resource Group form in the Azure portal with fields for Subscription, Resource group, and Region.

  5. Select Review + Create.

  6. Select Create. It takes a few seconds to create a resource group.

  7. Select Refresh from the top menu to refresh the resource group list, and then select the newly created resource group to open it. Or, select Notification (the bell icon) from the top, and then select Go to resource group to open the newly created resource group.

    Screenshot of the Azure portal with the 'Go to resource group' button in the Notifications panel.

List resource groups

  1. Sign in to the Azure portal.

  2. To list the resource groups, select Resource groups.

  3. To customize the information displayed for the resource groups, configure the filters. The following screenshot shows the other columns that you can add to the display:

    Screenshot of the Azure portal displaying a list of resource groups.

Open resource groups

  1. Sign in to the Azure portal.
  2. Select Resource groups.
  3. Select the resource group you want to open.

Delete resource groups

  1. Open the resource group you want to delete. See Open resource groups.

  2. Select Delete resource group.

    Screenshot of the Azure portal with the 'Delete resource group' button highlighted in a specific resource group.

For more information about how Resource Manager arranges how resources are deleted, see Azure Resource Manager resource group and resource deletion.

Deploy resources to a resource group

After you create a Resource Manager template, use the Azure portal to deploy your Azure resources. For information about creating a template, see Quickstart: Create and deploy Azure Resource Manager templates by using the Azure portal. For information about using the portal to deploy a template, see Deploy resources with Resource Manager templates and Azure portal.

Move to another resource group or subscription

You can move resources from one resource group to another. See Move Azure resources to a new resource group or subscription for more information and guidance.

Lock resource groups

Locking prevents other users in your organization from accidentally deleting or modifying critical resources like an Azure subscription, resource group, or resource.

  1. Open the resource group that you want to lock. For more information, see Open resource groups.

  2. In the left pane, select Locks.

  3. To add a lock to the resource group, select Add.

  4. Enter Lock name, Lock type, and Notes. The lock types include Read-only and Delete.

    Screenshot of the Add Lock form in the Azure portal with fields for Lock name, Lock type, and Notes.

See Lock your resources to protect your infrastructure to learn more.

Tag resource groups

Apply tags to resource groups and resources to logically organize your assets. For more information, see Use tags to organize your Azure resources.

Export resource groups to templates

To learn about exporting templates, see Single and multi-resource export to template - Portal.

Manage access to resource groups

Use Azure role-based access control (Azure RBAC) to manage access to resources in Azure. For more information, see Assign Azure roles using the Azure portal.

Next steps