Using Azure Cloud Shell and Azure Cli script you can create a lab environment fast and easy. In this lab, use Azure Cli script to set up Hands-on Lab environment.
-
Open browser and go to Azure Portal
-
Click on new Dashboard
-
Type name of the dashboard as Azure Workshop
-
Open cloud shell from the browser
-
Download a script
Run following commnad from the cloud shell prompt
Please copy below command and past it to cloud shell prompt
wget -O azlab.azcli https://raw.githubusercontent.com/xlegend1024/az-iot-hol/master/azcli/00.azlab-iot_us.azcli
-
Run command to create a resource group and resource
Care with subscription name when you run the script
sh ./azlab.azcli
Make sure you use correct Azure Subscription for the Hands-on lab.
-
Make sure you have a resource group and resources:
- Linux Virtual Machine
- Windows Virtual Machine
- Blob
- CosmosDB
- SQL Database