Please navigate to Exercise - Configure a public load balancer , Activate sandbox, review permissions, sign-in, etc.
Before running the command in step 2, please enter below command so that you can edit the script:
nano create-high-availability-vm-with-sets.sh
Use your arrow keys to navigate down to the --image UbuntuLTS
line and change it to --image Ubuntu2204
After you have made the change, press Ctrl-X, Y, then Enter to save and exit the editor. At this point you have "fixed" the file and can continue completing the exercise by running:
bash create-high-availability-vm-with-sets.sh <your learn-xxxx resource group name>
Please note it is critical to enter the correct "learn-xxxxxxxx-" resource group name in the above command. It should update the command to have the correct group name automatically, however, lately there has been a new bug whereby it doesn't get updated. You can find the resource group name by opening the Azure portal and clicking on Resource groups. Additionally, Reference thread link: https://learn.microsoft.com/en-us/answers/questions/1517066/issue-getting-error-while-creating-the-web-app Please click Accept Answer and upvote if the above was helpful. Thanks. anand