Provision Resources

Video: Basic Resource Management

Estimated time: 10

Goal

The goal of this task is to provision multiple Azure resources using both the Azure portal and Azure PowerShell. The resources include a resource group, a virtual machine, and a storage account.

Pre-requisites

  1. Non-production Azure subscription

Requirements

  1. Requirement 1: Provision a resource group
  2. Requirement 2: Provision a virtual machine via the Azure portal
  3. Requirement 3: Provision a storage account via Azure PowerShell

Pre-requisite setup

There is no setup required for this task.

Requirement 1: Provision a resource group

For this requirement you will provision a resource group named task-basic-rg using the Azure portal. Use a region that is close to you.

Requirement 2: Provision a virtual machine via the Azure portal

For this requirement you will provision a virtual machine using the Azure portal. Use the following settings:

Setting Value
Name basic-vm
Resource group task-basic-rg
Region <same as the resource group>
Image Windows Server 2016 Datacenter
Size Standard_D2S_V3
Admin user student
Admin password <A strong password>

Use defaults for all other settings, but go through all of the screens to see what options are available.

Requirement 3: Provision a storage account via Azure PowerShell

Finally, use the Azure PowerShell commandlets to provision a storage account. If you have the PowerShell commandlets on your machine you can use them, otherwise open a PowerShell cloud shell. Use the following settings for the storage account:

Setting Value
Name <a unique name>
Resource group task-basic-rg
Location <same as the resource group>
Kind Standard V2
Default access Hot

Cleanup

After you have completed this task, delete the task-basic-rg resource group.