- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Deploy a Linux VM and Serve a Web Page
In this guided Azure lab, you will provision an Ubuntu Linux virtual machine from the Azure portal, connect over SSH, install and start NGINX, open HTTP access through a network security group rule, and confirm the default web page loads in a browser.
Lab Info
Table of Contents
-
Challenge
Deploy a Linux Virtual Machine with Basic Networking
- Provision an Ubuntu Linux virtual machine in Azure with a public IP address and SSH access enabled.
- Observe how Azure automatically creates supporting resources such as a virtual network, subnet, network interface, disk, and network security group during deployment.
- Verify the VM deployment succeeded by confirming the machine is running and has an assigned public IP address.
-
Challenge
Install and Run a Web Server on the Virtual Machine
- Connect to the virtual machine using SSH through Azure Cloud Shell.
- Install the NGINX web server on the Ubuntu virtual machine.
- Verify that the NGINX service is running and responding locally on port 80.
-
Challenge
Configure HTTP Access and Validate Web Connectivity
- Review the network security group associated with the VM and understand how inbound traffic is controlled.
- Configure an inbound security rule to allow HTTP traffic on port 80.
- Confirm the NGINX default web page loads successfully in a browser using the VM's public IP address.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.