hands-on lab

Working with Azure Storage Using PowerShell

Difficulty: Intermediate
Duration: Up to 2 hours and 10 minutes
Students: 6,263
Rating: 4.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Working with Azure Storage using PowerShell, you will get hands-on experience with different types of storage available in Azure Storage. You will set up an image storage account that stores raw images as block blobs. An Azure Table is used to store metadata about the raw images and provides support for querying the images. An Azure Queue is used to store thumbnail requests. You will use PowerShell to connect all the parts and generate Shared Access Signature (SAS) tokens for accessing the images.

Lab Objectives

Upon completion of this lab you will be able to:

  • Perform Azure Resource Manager (ARM) template deployments with PowerShell
  • Create and manage Blob, Table, and Queue storage with PowerShell
  • Learn how to asynchronously copy blobs
  • Generate SAS tokens for securing storage access
  • Rotate and regenerate storage account keys

Lab Prerequisites

You should be familiar with:

  • Azure Storage concepts
  • Microsoft Windows operating system basics
  • PowerShell and .NET familiarity are beneficial, but not required

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

 

Updates

November 18th, 2024 - Updated image assets and instructions.

May 23rd, 2024 - Resolved Azure login via Powershell issue

December 24th, 2020 - Updated the command to install Resize-Image module 

July 28th, 2020 - Updated to use managed SSD disks for the VM for improved performance

June 24th, 2020 - Updated to use the Az PowerShell module

April 29th, 2020 - Added validation check functions to validate the work done in the environment

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Connecting to the Azure Virtual Machine (RDP)
Creating a Storage Account Using an ARM template
Working with Azure Blob Storage
Working with Azure Table Storage
Working with Azure Queue Storage
Working with Azure Storage Account Keys