DEV Community

Cover image for How to Create a Resource Group in Azure
 Ganiyat Olagoke Adebayo
Ganiyat Olagoke Adebayo

Posted on

How to Create a Resource Group in Azure

Introduction

In this exercise, I focused on one of the foundational tasks in Microsoft Azure — creating a Resource Group. A resource group acts as a logical container that holds related Azure resources, such as virtual machines, storage accounts, or databases.

By organizing resources into groups, teams can manage access, costs, monitoring, and deployments more effectively. Resource groups are especially important for developers working on new applications, test environments, or production workloads.

In this post, I walk through the steps of creating a resource group using the Azure portal.

Architecture Overview (Simple Concept)

A typical setup includes:

  • An Azure subscription

  • A resource group to organize resources

  • Azure resources (like storage, VMs, etc.) that will be placed into the group

For this exercise, we focus only on creating the resource group.

Skilling Task

Create a resource group in the Azure portal.

🛠 Step-by-Step Guide

  1. Navigate to the Azure Portal

Go to the Azure Portal and sign in with your credentials.

Search for Resource groups in the global search bar and select it.

  1. Create a New Resource Group

Click + Create.

  1. Configure the Resource Group

You will be asked to provide:

Subscription

Choose the subscription where the resource group will be created.

Resource Group Name

Enter a globally unique, meaningful name.
For example:

rg-finance-app

rg-testing-lab

rg-prod-storage

Make sure the name reflects the purpose of the resources it will contain.

Region

Choose the Azure region closest to your users or required by the project.
Common regions:

West Europe

North Europe

East US

Central India

Azure stores the metadata of your resource group in this region.

  1. Review and Create

Select Review + create.

Azure will validate your settings.

Click Create.

  1. Deployment Complete

Once deployment finishes, select Go to resource group.
Your new resource group is ready, and you can now begin adding resources such as virtual machines, storage accounts, or databases.

Why Resource Groups Matter

Resource groups provide benefits like:

Centralized management of related resources

Easy cleanup of test environments (delete one group and all resources inside)

Cost tracking by grouping resources per project

Role-based access control (RBAC) at the group level

Consistent deployments using ARM/Bicep templates

Conclusion

Creating a resource group is a simple but essential step in any Azure environment. It sets the foundation for organizing, securing, and managing cloud resources effectively. In future exercises, you’ll use this resource group to deploy storage accounts, virtual machines, networking components, and more as you continue building your cloud solutions.

Top comments (0)