Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Accessing and Using the Azure Cloud Shell

This hands-on lab will introduce you to Azure Cloud Shell, a web-based virtual terminal that allows you full access to Azure PowerShell and the CLI — right from your browser. There's nothing to install and no plugins — just scripting goodness. We'll take a look at how to set up Cloud Shell and run a few commands in both the Azure CLI and Azure PowerShell. When we're finished, you'll have the knowledge necessary to run Cloud Shell in your own Azure subscription. Our key objectives include configuring the Azure Cloud Shell, running sample commands in Azure CLI (PowerShell Environment), creating a Linux virtual machine using the Azure CLI (PowerShell Environment), viewing Azure resources in Azure PowerShell, and removing a Linux virtual machine using Azure PowerShell.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon May 03, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Configure Cloud Shell

    1. In the Azure portal, click the Cloud Shell icon (>_) in the top right corner of the screen.
    2. In the Cloud Shell welcome menu, click PowerShell.
    3. In the storage menu, click Show advanced settings.
    4. Use the lab-provided subscription. Use the existing resource group. Use Central US for the location. Create a new, uniquely named Storage account and a new, uniquely named File Share.
    5. Click Create storage.
  2. Challenge

    Execute Azure CLI Commands in the Cloud Shell

    1. Use Azure CLI commands to list the resource groups, storage accounts, virtual machines, and all resources available in our Azure subscription.
    2. Note the output.
  3. Challenge

    Create a Virtual Machine Using the Azure CLI

    1. Create a virtual machine in the cloud shell, using the actual name of your lab resource group for the resource-group.
    2. Verify the creation of the virtual machine.
  4. Challenge

    Run PowerShell cmdlets in the Cloud Shell

    1. Run PowerShell cmdlets to list resource groups, storage accounts, virtual machines, and all resources available in the lab.
    2. Note the output.
  5. Challenge

    Remove the Virtual Machine

    1. Use a cmdlet to remove the virtual machine, providing the names of the virtual machine and resource group for the -Name and -ResourceGroupName parameters, respectively.
    2. Verify that the virtual machine has been deleted.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans