Tech Hub

@ Solution Architecture Works

Introduction to Microsoft Azure: Describe Azure Architecture and Services

Exercise – Create an Azure Resource

Estimated reading: 2 minutes 16 views

In this exercise, you will use the Azure portal to create a resource.
The goal is to observe how Azure resource groups are populated with the resources you create.

Important


You have the option to create a resource group when creating the virtual machine.
If you give the resource group the recommended name, it will make cleanup easier at the end of the exercise.

Task 1: Create a Virtual Machine

In this task, you will create a virtual machine using the Azure portal.

  1. Sign in to the Azure portal.
  2. Select Create a resource > Compute > Virtual machine > Create.
    The Create a virtual machine panel opens on the Basics tab.
  3. Verify or enter the following values for each setting.
    If a setting is not specified, leave the default value.
SettingValue
SubscriptionSelect the subscription you want to use for the exercise.
Resource groupSelect Create new, enter IntroAzureRG, then click OK.
Virtual machine namemy-VM
RegionLeave default
Availability optionsLeave default
Zone optionsManually selected zone
Availability zoneLeave default
Security typeLeave default
ImageLeave default
VM architectureLeave default
Enable Azure Spot discountUnchecked
SizeLeave default
Authentication typePassword
Usernameazureuser
PasswordEnter a custom password
Confirm passwordRe-enter the custom password
Public inbound portsNone
  1. Select Review + Create.

Important


The product details will include a cost associated with creating the virtual machine. This is a system function.
If you create the VM in the Learn sandbox environment, you will not incur any real charges.

  1. Select Create.
  2. Wait while the virtual machine is provisioned.
    The message Deployment in progress will change to Deployment succeeded once the VM is ready.

Task 2: Verify the Created Resources

Once the deployment is complete, you can verify that Azure has created not only a virtual machine but also all the associated resources required for it to function.

  1. Select Home.
  2. Under Azure Services, select Resource groups.
  3. Select the resource group IntroAzureRG.
  4. You should see a list of resources in this group.
    These resources were automatically created when the virtual machine was created.
    By default, Azure assigns similar names to make association easier and groups them in the same resource group.

🎉 Congratulations!
You have created a resource in Azure and learned how resources are grouped when they are created.

Cleanup

To delete the items created in this exercise and avoid unnecessary costs, delete the resource group (along with all associated resources).

  1. From the Azure home page, under Azure Services, select Resource groups.
  2. Select the resource group IntroAzureRG.
  3. Select Delete resource group.
  4. Enter IntroAzureRG to confirm deletion, then select Delete.

➡️ Next Unit: Module Assessment

Share this Doc

Exercise – Create an Azure Resource

Or copy link

CONTENTS