DEV Community

Exercise 01: Configure an Azure Linux Virtual Machine

This exercise details the creation and management of a Linux virtual machine (VM) in Azure. The goal was to set up a web server for an eCommerce website using Nginx. The process involved creating an Ubuntu VM in the Azure portal, configuring network settings to allow SSH access, and connecting to the VM via SSH using a generated key pair. Once connected, the OS was updated, and the Nginx web server was installed and configured to start on boot. The Nginx installation was verified by checking its status and accessing the default welcome page in a browser. Challenges encountered included SSH key permission issues and problems using Azure Cloud Shell for SSH, both of which were resolved. Key learnings included Azure VM creation, SSH access configuration, OS updates, and web server deployment skills. This hands-on experience provided a solid understanding of managing Linux VMs in Azure for web application deployment.
favicon
dev.to
dev.to