Deploying Azure Infrastructure Using Azure Cloud Shell

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, you will deploy a storage account from Azure Cloud Shell instead of using the Azure portal deployment interface.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Launch Azure Cloud Shell

Launch Azure Cloud Shell, ensure that it is set up, and select the shell environment you prefer (Bash or PowerShell).

Configure CLI Deployment of Basic Infrastructure

This objective is completed when you have completed the CLI instruction set that, when invoked, will deploy the basic infrastructure (i.e., the storage account).

Deploy Basic Infrastructure Using the CLI

This objective is completed when you have invoked your CLI instructions and have verified that the resource is now in Azure.

Additional Resources

Scenario

A previous deployment request here at Cloudy Solutions had the storage account deployed with a configuration outside of company guidelines for cloud resources. In order to help facilitate storage account deployments being consistent, it is time to implement a process that can better ensure this. Thankfully, we can do this from the command line in short order. In this lab, we will drop you into the Azure portal. From there, you will invoke the Azure Cloud Shell, configure Cloud Shell, and proceed to deploy a storage account. This syntax could then be used as a basis for all storage account deployments in the future.

Deploy a storage account with the following settings:

  • Storage account name: (the name must be globally unique and lowercase): acglearn<RANDOM_NUMBERS><RANDOM_WORD>
  • Region: Grab from the Azure portal (in the Solution video)
  • Performance: Standard
  • Redundancy: Locally redundant storage (LRS)

PowerShell command: New-AzStorageAccount -ResourceGroupName <INSERT_RESOURCE_GROUP_NAME> -Name <GLOBALLY_UNIQUE_STORAGE_ACCOUNT_NAME> -Location "<INSERT_LOCATION>" -SkuName "<PERFORMANCE_REDUNDANCY_CODE>"

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?