Lab Steps

lock
Logging in to the Microsoft Azure Portal
lock
Reviewing Azure Virtual Networks
lock
Reviewing Azure Load Balancers
lock
Reviewing Azure Application Gateways
lock
Reviewing Azure VPN Gateways
lock
Starting an Azure Cloud Shell
lock
Reviewing Azure Content Delivery Network
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

 Azure Cloud Shell is a shell that runs in your web browser. Cloud Shell comes with several tools installed that are useful for managing resources in Azure, such as the Azure CLI. You can choose between a Linux-style Bash shell or a PowerShell experience. You can switch between the two shell experiences at any time. Cloud Shell is backed by an Azure file share that persists a clouddrive home directory. The shell runs on a temporary host that is free to use. You only pay for the required file share storage.

Some points worth noting are:

  • You are a regular user without the ability to obtain root/administrator privileges. 
  • The cloud shell will timeout after 20 minutes of inactivity.

Neither of these limitations will be an issue for this Lab. In this Lab Step, you will start a Bash Cloud Shell using an existing storage account.

 

Instructions

1. Click on the >_ Cloud Shell icon in the menu bar of the Azure Portal Dashboard:

alt

This will open a Cloud Shell console at the bottom of your browser window.

 

2. Select Bash for your shell experience:

alt

 

3. Click on Show advanced settings to configure the shell to use existing storage resources:

alt

 

4. Set the following values in the Cloud Shell storage configuration form, and then click Create storage:

  • Subscription: Leave the default value
  • Cloud Shell region: Choose the region (The Cloud Academy Lab environment created a storage account for you in this region.)
  • Resource group: Choose Use existing. Select the resource group beginning with cal-
  • Storage account: Choose Use existing. Select the only storage account available or the one beginning with cacloudshell if there are multiple
  • File share: Choose Create new. Enter cloudshell for the name of the file share

alt

Warning: Make sure to select the region described in the instructions. The image above is only demonstrative.

Warning: If you still can't reach the storage account, make sure the deployment reached 100%. You can check it under Resource groups -> ca-lab-### -> Deployments.

The file share creation should complete within a few seconds, and your Cloud Shell will display progress as it initializes.

 

5. Wait until you see the prompt ending with indicating your Cloud Shell is ready to use:

alt

 

Summary

In this Lab Step, you started a Cloud Shell from the Azure Portal. You configured the shell to use an existing storage account and created a new file share in the storage account to persist your clouddrive home directory.