In this lab, you will deploy resources and then organize them using the Azure portal and/or Azure Cloud Shell. Tasks will include:
– Deploying a virtual machine
– Deploying a storage account (using Azure Portal, Azure Cloud Shell, or both)
– Creating root and nested management groups
– Creating a dashboard and making it public (sharing)
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Deploy an Azure VM
Deploy a virtual machine (VM) with the specifications below. Each heading refers to a deployment tab. Leave all defaults except when indicated below.
Basics
- Resource Group: you choose
- Name: psclhtgswa
- Region: same as your resource group
- Security type: Trusted launch virtual machines
- Image: Ubuntu Server 20.04 or newer
- Size: B1s
- Authentication type: Password
- Username: cloud_user
- Password: Go-2-the-Cloud!
- Redundancy: Locally-redundant storage (LRS)
Disks
- OS disk type: Standard SSD (locally-redundant storage)
- Deploy an Azure Storage Account
Deploy a storage account with the specifications below. Each heading refers to a deployment tab. Leave all defaults except when indicated below.
Basics
- Resource Group: you choose
- Name: pslabhtgswa<INSERT_RANDOM_NUMBERS>
- Region: same as your resource group
- Performance: Standard
- Redundancy: Locally-redundant storage (LRS)
If you prefer, you can deploy via the Azure Cloud Shell using one of the following command line syntax (replace
<INSERT_RANDOM_NUMBERS>
with random numbers so the name is unique).Az CLI
az storage account create --name pslabhtgswa<INSERT_RANDOM_NUMBERS> --resource-group <RESOURCE_GROUP_NAME> --location [location] --sku Standard_LRS --encryption-services blob
Azure PowerShell
New-AzStorageAccount -ResourceGroupName $resourceGroup -Name pslabhtgswa<INSERT_RANDOM_NUMBERS> -Location $location -SkuName Standard_LRS -Kind StorageV2
- Organize Azure Resources
Ensure the following characteristics are true:
- Create two new management groups inside of the tenant root group:
- MG1<INSERT_RANDOM_NUMBERS> and MG2<INSERT_RANDOM_NUMBERS>
- Create a nested management group inside of one of the new management groups:
- MG1<INSERT_RANDOM_NUMBERS>a or MG2<INSERT_RANDOM_NUMBERS>b
- Create two new management groups inside of the tenant root group:
- Create and Share Dashboard for Resources
Create a dashboard that displays the following:
- Available storage consumption on at least two storage accounts (Avg Used capacity)
- Current disk operations on at least 2 storage accounts (Sum Transactions)
- Current CPU usage of VM (Percentage CPU)
- Current network traffic of VM (in or out)
- Current memory consumption of VM (Avg Available Memory)
Share the created dashboard to the public space (non-personal).