Hi @Philippe Lefebvre
Thank you for reaching out to us on MS Q&A forum.
We regret any inconvenience this may have caused. Based on my understanding of the situation, it seems you are working on the following Learning Path exercise:
Topic: AZ-900
Learning Path: Azure Fundamentals: Describe Azure architecture and services
Module: Describe Azure compute and networking services
Unit: 3 of 14 Exercise - Create an Azure Virtual Machine
I've made multiple attempts to reproduce the issue, and I can confirm that the documented steps function correctly for me.
Please review a related discussion thread (authored by TP) for summarized steps.
Here's a brief rundown of the steps:
- Activate a new sandbox and create the VM as indicated in the Exercise (Step 1 under "Create a Linux VM and Install Nginx").
- After completing Step 1, take note of the Public IP address assigned to the VM.
- Prior to proceeding to Step 2, establish a connection to the newly created VM using the SSH command in the cloud shell. Execute the following command to connect to the VM: ssh azureuser@<VM public ip address>. When prompted, respond with "Yes."
- Execute the following commands sequentially within the cloud shell:
- sudo apt-get update
- sudo apt-get install -y nginx
- echo "<html><body><h2>Welcome to Azure! My name is $(hostname).</h2></body></html>" | sudo tee -a /var/www/html/index.html
- exit
Upon completing Step 4, continue your module starting from Step 2 of Task 1: "Create a Linux Virtual Machine and Install Nginx," within Module 3 of 14.
If the issue continues to persist, please do not hesitate to inform us, and we will be more than happy to provide further assistance.
If you have found the answer provided to be helpful, please click on the "Accept Answer and Upvote" button so that it is useful for other members in the Microsoft Q&A community.