- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.