Create and Organize an Azure Resource Group

Lab overview

Surf City Boats is moving its first server workload to Azure, and every resource in that project needs a home before anything gets deployed. In this lab you sign in to the Azure portal as the Surf City IT administrator and create rg-surfcity-infra, the resource group that will hold the virtual network, server, Bastion host, and storage you build across the rest of this collection. You place it in East US 2, tag it with environment = lab and owner = surfcity-it, confirm validation passes, and verify the finished group's region and tags from its Overview and Tags pages.

Why you'd do this

A resource group is the container Azure uses to manage related resources as a unit: you can view their combined cost, apply permissions and locks to all of them at once, and delete everything in one action when the project ends. Creating the group first, before any virtual network or VM, is the discipline that keeps an Azure subscription from turning into a pile of unrelated resources nobody remembers deploying.

The two choices you'll make on the Basics tab both matter more than they look. The region on a resource group is where its metadata lives, and it does not force the resources inside to use the same region, but putting everything for Surf City in East US 2 from the start keeps latency and data residency simple and avoids a common exam trick question. The name follows the rg-<workload>-<purpose> convention Microsoft recommends, so anyone scanning the subscription later can tell at a glance what the group is for.

You'll also add two tags. Tags are name-value labels that cost nothing and are easy to skip, which is exactly why most organizations end up with untagged resources they can't attribute. Tagging environment and owner on the group now means cost reports and inventory queries can find Surf City's lab resources later, and it's the kind of governance habit AZ-104 expects you to have.

Watch for the Review + create step: Azure validates the configuration before it builds anything, and that's the moment to catch a typo in the name or the wrong region, because a resource group can't be renamed once it exists. For certification prep, resource groups and tagging are core AZ-900 fundamentals and show up under managing Azure identities and governance on AZ-104.

Lab details

  • Signed in as: [email protected] (Owner on the Surf City Boats subscription)
  • Resource group: rg-surfcity-infra
  • Region: (US) East US 2
  • Tags: environment = lab · owner = surfcity-it
  • Verification: Overview page (subscription, location, tags) and the Tags blade

Learning objectives

  1. Create a resource group from the Azure portal and choose its region.
  2. Apply name-value tags to a resource group during creation.
  3. Use Review + create to validate a configuration before deploying it.
  4. Verify a resource group's subscription, location, and tags after deployment.
  5. Explain why a resource group is created before the resources it will hold.

Exam relevance

  • AZ-900 — Microsoft Azure Fundamentals — resource groups, regions, tags, and the Azure resource hierarchy.
  • AZ-104 — Microsoft Azure Administrator — manage resource groups, apply and manage tags, Azure governance basics.

Where this lab fits in the project

This is the first of six labs that build a private, secured Windows Server environment for Surf City Boats. Everything you deploy in later labs lands in the resource group you create here: the vnet-surfcity virtual network and its server subnet in lab 2, the vm-surfcity-01 server in lab 3, the network security group in lab 4, the Azure Bastion host in lab 5, and the stsurfcityinfra001 storage account and file share in lab 6.

Because the group's tags and region are set now, every later resource inherits a clear place in the subscription without you having to think about it again. Do the labs in order; each one starts from the state the previous lab left behind.

Step-by-step instructions

  1. Open the Resource groups service:
    • On the Azure portal Home page, under Azure services, select Resource groups.
    • Select + Create.
  2. Configure the Basics tab:
    • Under Subscription, confirm the Surf City Boats subscription is selected.
    • In the Resource group field, type rg-surfcity-infra.
    • In the Region dropdown, select (US) East US 2.
    • Select Next: Tags.
  3. Apply tags:
    • In the Name field, type environment; in the Value field, type lab.
    • Press Tab to commit the tag and open a new row.
    • In the second Name field, type owner; in the second Value field, type surfcity-it.
    • Select Next: Review + create.
  4. Create the resource group:
    • Confirm Validation passed is displayed.
    • Confirm the Subscription, Resource group, Region, and both tags are listed correctly.
    • Select Create.
  5. Verify the resource group:
    • Select the Notifications bell at the top of the portal, then select Go to resource group.
    • On the Overview page, confirm the Subscription, Location, and Tags match what you configured.
    • Select Tags in the left menu and confirm environment : lab and owner : surfcity-it are listed.

Launch the lab simulation — free with a labITpro account; no Azure subscription required.

An Introduction to Microsoft Entra ID

Learn what you need to know to get started with Microsoft Entra ID with this easily-digestible 5-hour bootcamp from best-selling instructor, Thomas Mitchell.

Disable these ads by becoming a labITpro Supporter!

Azure vNets Explained

Want to learn about Azure virtual networks? In this quick-hitting explanation, you’ll learn what they are, what they do, and you’ll learn about key Azure vNet features.

Disable these ads by becoming a labITpro Supporter!