- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Basic Administration with Azure Cloud Shell
In this lab, you'll practice executing simple administrative tasks using Azure Cloud Shell. You'll launch an Azure Cloud Shell session, select the appropriate shell environment, set the active subscription context, run Azure CLI commands to inspect and manage common Azure resources, and recognize common authentication, subscription, permission, and shell environment issues. When you're finished, you will have successfully completed a basic administrative workflow using Azure Cloud Shell and Azure CLI.
Lab Info
Table of Contents
-
Challenge
Access Azure Cloud Shell and confirm your subscription context
- Launch Azure Cloud Shell in Bash mode via the Azure portal.
- Confirm your active subscription context.
- List available subscriptions to understand the environment scope.
-
Challenge
Inspect common Azure resources using Azure CLI
- Capture the resource group and virtual machine names using shell variables.
- Inspect resource group contents and virtual machine configuration.
- Review your permission scope by checking role assignments.
-
Challenge
Perform an administrative workflow on the virtual machine
- Deallocate and restart the virtual machine, verifying state changes.
- Apply a governance tag to the virtual machine and confirm it was added.
-
Challenge
Recognize and resolve common Cloud Shell and Azure CLI issues
- Diagnose and interpret errors caused by invalid resource group names and insufficient permissions.
- Switch between Bash and PowerShell in Cloud Shell, observe the loss of session state, and recover variables as needed.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.