Deploying an Ubuntu Linux VM on Microsoft Azure and Hosting a Website with Nginx
As part of my 90-project Cloud Engineering journey, I recently completed Project 3: deploying an Ubuntu Linux Virtual Machine on Microsoft Azure and configuring Nginx to host a custom static webpage.
The objective was to gain hands-on experience with cloud infrastructure, Linux administration, SSH authentication, network security, and web server configuration.
In this article, I'll walk through the implementation, the challenges I encountered, and what I learned.
Project Architecture
The deployment followed this architecture:
Internet | Public IP Address | Azure NSG Rules | ---------------- | | SSH : 22 HTTP : 80 | | ---------------- | Ubuntu Linux VM | Nginx | /var/www/html/ | index.html
Enter fullscreen mode
Exit fullscreen mode
Technologies Used
Microsoft Azure
Ubuntu 24.04 LTS
Azure Virtual Machines
SSH
Ed25519 SSH Key Pair
Network Security Groups (NSG)
Nginx
HTML
Windows PowerShell
1.…