Unable to complete: Task 1: Create a Linux virtual machine and install Nginx on Describe Azure compute and networking services module

Adam Magyar 20 Reputation points
2024-02-16T01:52:35.0133333+00:00

I am unable to complete Unit 3 of 14 in the "Describe Azure compute and networking services" module. When I start the sandbox and try to enter the following command to create a Linux VM:

az vm create \ --resource-group "learn-581d436b-ecfa-428a-b1c2-4019e4a0aa42" \ --name my-vm \ --public-ip-sku Standard \ --image Ubuntu2204 \ --admin-username azureuser \ --generate-ssh-keys

It asks me to login with a 10 character code. Then it says "the following arguments are required: --name/-n, --resource-group/-g" despite them being in the command.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,235 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 110.3K Reputation points
    2024-02-16T02:17:22.14+00:00

    Hi Adam,

    Please make sure you are using the Copy button in the upper right corner of each code block on left, next right-click Paste into the Cloud Shell window on right, then press enter to execute command.

    Please test again and let me know if it works okay for you.

    NOTE: You need to complete this exercise as well as the later Unit 9 Configure network access exercise within the 1 hour time limit of the sandbox. If for some reason the sandbox expires before you complete them both, please go back to Unit 3 exercise, activate sandbox, complete steps again, then jump back to Unit 9 exercise and complete it.

    In other words, Unit 9 exercise depends on you having completed Unit 3 exercise beforehand, within same sandbox.

    Please click Accept Answer and upvote if the above was helpful. If something is unclear add a comment below and I will assist.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.