- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

Restricting Access to Azure Virtual Network Resources
In this lab, we configure both an Ubuntu web server and internet access over TCP port 80 (HTTP) with an Azure network security group.

Lab Info
Table of Contents
-
Challenge
Connect to Ubuntu Virtual Machine
Log on to the Azure portal using the credentials on the lab landing page.
Connect to the virtual machine using an SSH client. A few SSH clients for Windows can be found on the instructions portion of this page.
The credentials for the virtual machine are provided on the lab page.
-
Challenge
Configure the Web Server
Using the SSH client, install the Nginx web server package using the Ubuntu Advanced Package Tool.
Once Nginx has been installed, delete the default start page in the web root directory.
Download the web application from the GitHub repository. Download the contents directly to the Nginx root web directory.
-
Challenge
Allow Inbound Internet Traffic
In the Networking pane of the virtual machine, click Add inbound port rule. Add a new inbound rule that allows all HTTP traffic into the virtual machine.
Verify that Nginx has been configured correctly and that traffic is now allowed by navigating in a web browser to the public IP address of the web server. This is in the Azure portal under the blade for the virtual machine.
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.