Azure Linux Support Team

Support for Linux on Azure

AZ CLI: How to delete and re-deploy a VM from VHD (unmanaged disk)

You should be able to use the built-in CLI on the portal, for more details on how to use it, please check: Azure Cloud Shell (quickstart) If not, you can always install it locally on your workstation or also using docker, for details, please follow the steps described here: Install the Azure CLI For the steps… Read more

How to: Deploy a basic wordpress on Ubuntu 16.04 LTS on Azure

How to deploy a simple WordPress instance using Ubuntu 16.04 LTS, Nginx, MariaDB and Memcache in Azure. This article is destined to help understand a basic WordPress deployment on Azure using Ubuntu 16.04 LTS, Nginx with PHP-fpm (for PHP support), MariaDB and Memcache In this example, we are deploying a Standard_F2S VM with premium disk,… Read more

How to: Add SWAP to Linux VM’s on Azure

Every virtual machine (VM) on Azure has what we call a temporary (ephemeral) disk which is recommended to be used ONLY as temporary storage and that includes SWAP files or data that does not need to be available upon a reboot or saved , the data stored in this drive will be lost. To create a swap file… Read more

How to: Resize Linux osDisk partition on Azure

Most Linux images on Azure will by default have 30GB size for the osDisk and that is something that you might want to resize moving forward. Resizing the partition is really simple on Azure and we can be done by the following procedure: a) Stopping and deallocating the VM on the portal or Azure CLI… Read more

Azure Linux Extensions: Custom Script for Linux

You have probably seen some extensions that are available on Azure, some of them listed/documented here: Azure Linux Extensions In this article, we will cover a few examples that you can use with the “Custom Script for Linux” extension. This extension basically allows you to run a script inside a Linux VM, so as long… Read more

Unsupported: How to install xRDP for GUI remote access on Linux

You want to access a Linux VM on Azure using a GUI through Remote Desktop or similar tools. The installation and configuration of 3rd party tools are beyond the scope of Azure Linux support but we have here a few notes and best practices to enable xRDP if needed. There are other ways of achieving similar… Read more