Tutorials

Provision a Virtual Machine on Azure and Install an Nginx Web Server

Video Introduction This tutorial is designed for individuals with a basic understanding of cloud concepts and who are interested in learning how to set up a virtual machine (VM) on Azure and deploy an Nginx web server. We will go step-by-step through the process, emphasizing best practices and troubleshooting. Method We will use the Azure web console to manually provision a VM running the Linux distribution Ubuntu as Operating System (OS) We will deploy an Nginx web server by using the Ubuntu package manager running cloud-init. »

Securely Manage Servers Behind a Bastion Host

Introduction This tutorial is aimed at IT professionals and system administrators who wish to securely manage their servers on Azure, especially when these servers are not directly exposed to the internet and are located behind a bastion host. By following this guide, you will learn how to create a secure environment, ensuring that your web servers and other critical infrastructure are safely accessible for management and deployment tasks. Prerequisites An Azure account. »

Use A Reverse Proxy In Front of the App

Introduction This tutorial is designed for developers and system administrators looking to configure Nginx as a reverse proxy in front of an application server on Azure. Both servers will reside within the same virtual network. Prerequisites An active Azure account. Sign up here if you don’t have one. Familiarity with Azure portal, cloud networking, and SSH. Basic knowledge of Nginx. In order to “set the table” so that we can verify that the reverse proxy works as expected, let’s create two VMs - one Application Server and one Reverse Proxy. »

Install the LEMP Stack on an Ubuntu VM Using Azure CLI

Overview This tutorial explains how to install the LEMP stack (Linux, Nginx, MySQL, PHP) on an Ubuntu Virtual Machine (VM). Step 1: Provision the Virtual Machine Create a resource group: az group create --name LempRG --location northeurope Provision the Ubuntu VM: az vm create \ --resource-group LempRG \ --name LempVM \ --image Ubuntu2204 \ --size Standard_B1s \ --admin-username azureuser \ --generate-ssh-keys Open port 80 for HTTP traffic: az vm open-port --resource-group LempRG --name LempVM --port 80 Retreive the Public IP of the VM: »

Containerize an ASP.NET Webapp

Introduction In this step-by-step tutorial we will containerize an ASP.NET web app and deploy it on Azure. Containerization is a cornerstone in modern software development, offering flexibility and efficiency in deploying and managing applications. Throughout this guide, we’ll use Docker, Azure, and various CLI tools to bring your ASP.NET application to the cloud. By the end of this tutorial, you’ll have a solid understanding of containerization and be able to deploy your containerized applications on Azure. »