while running the extension set for azure fundamentals it is giving an error as "Resource not found"

Neha Shisodiya 20 Reputation points
2023-01-16T15:58:01.22+00:00

In the exercise when I ran the first script it was running fine but for creating an extension it is giving an error as "resource not found ".

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.
1,241 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 82,736 Reputation points
    2023-01-16T16:42:20.12+00:00

    Hi,

    You can complete the exercise by connecting to the Linux VM you just created using ssh and then manually copying/pasting the commands from the script.

    If your sandbox has expired, please activate new sandbox and create the VM as instructed in the exercise. After Task 1 finishes, make a note of the publicIpAddress that was assigned to the VM (e.g. 20.245.72.52). Start Task 2, and then when it errors out, follow steps below. If your sandbox is still active, then no need to recreate the VM, just scroll up and make a note of the publicIpAddress and then follow steps below:

    Connect to the newly-created VM using ssh (in cloud shell). You will need to substitute the publicIpAddress you noted above for <VM public ip address> below:

    ssh azureuser@<VM public ip address>

    Enter yes when you are prompted.

    Copy and right-click -- paste the following three commands below in the cloud shell window. Wait for each to complete before pasting in the next command.

    Copy

    sudo apt-get update
    

    Copy

    sudo apt-get install -y nginx
    

    Copy

    echo "<html><body><h2>Welcome to Azure! My name is $(hostname).</h2></body></html>" | sudo tee -a /var/www/html/index.html
    

    Performing the steps above should only add a couple of minutes to the process. Continue on in the module. If you have any questions please let me know in a comment.

    If this was helpful to you please Accept Answer.

    Thanks.

    -TP

    1 person found this answer helpful.