In the following section, we are going to run through an exercise of creating a resource group using the Azure portal. Proceed as follows:

  1. In the Azure portal, select the hamburger menu icon and click Resource groups, as illustrated in the following screenshot:

Figure 4.1 – Selecting the Resource groups blade

  1. Click Create, as illustrated in the following screenshot:

Figure 4.2 – Creating a resource group

  1. Enter a resource group name, choose a location, and click Next: Tags > if you wish to add tags to the resource group. Alternatively, click Review + create to jump to the review pane. In this example, we will click Review + create, as illustrated here:

Figure 4.3 – Basics tab: creating a resource group

  1. Upon successful validation, click Create, as illustrated in the following screenshot:

Figure 4.4 – Review + create tab: creating a resource group

  1. You will receive a notification to indicate the successful creation of the resource group, as illustrated in the following screenshot:

Figure 4.5 – Resource group overview

You have now learned to deploy a resource group through the Azure portal. In the next section, we will uncover how to view existing resource groups.

Top Tip

Resource group names must be unique names per subscription.

Listing resource groups

On some occasions, we may want to see which resource groups we have or utilize existing resource groups for future deployments. To do this, we will perform the following steps:

  1. On the Azure portal, select the hamburger menu icon and click Resource groups, as illustrated in the following screenshot:

Figure 4.6 – Selecting the Resource groups blade

  1. In the following screenshot, notice all the resource groups identified by the Name, Subscription, and Location values:

Figure 4.7 – Listing resource groups

You now know how to list resource groups that exist within your subscription. In the next section, we will explore the process behind deleting resource groups.

Deleting a resource group

To delete a resource group, complete the following steps on the portal:

  1. On the Resource groups blade, select a resource group to be deleted, as illustrated in the following screenshot:

Figure 4.8 – Selecting a resource group

Top Tip

Deleting a resource group is a quick and easy method of deleting all your resources deployed to that group.

  1. On the Overview blade, click Delete resource group and enter the resource group name in the TYPE THE RESOURCE GROUP NAME: dialog box, then click Delete. The process is illustrated in the following screenshot:

Figure 4.9 – Deleting a resource group

  1. You will receive a notification that the resource group has been successfully deleted, as illustrated in the following screenshot:

Figure 4.10 – Resource group deletion notification

You have now learned the process behind deleting resource groups. In the next section, we will look at some PowerShell scripts to accomplish resource group creation tasks.

Leave a Reply

Your email address will not be published. Required fields are marked *