Skip Navigation

Virtual Machines


Tutorial: Create a Virtual Machine Running Linux

In this tutorial you will learn how to use the Azure Management Portal to create a custom virtual machine running Linux. After you create the virtual machine, you'll attach a data disk to the new virtual machine, and then set up communication with the virtual machine.

Feature guide: How to Prepare a Linux Distribution for Azure

Learn how to customize and create images for the different distributions that our partners have tested.

Feature guide: How to Capture an Image of a Virtual Machine Running Linux

Learn how to use images from the Image Marketplace to easily create virtual machines, or to capture and use your own images to create customized virtual machines. If you want to create multiple virtual machines that are set up the same way, you can capture an image of a configured virtual machine and use that image as a template.

How to: Create and Upload a Virtual Hard Disk that Contains the Linux Operating System

Learn how to install the Hyper-V role on your server, create the image, and then upload the image to Azure.

Feature guide: Azure Linux Agent User Guide

Learn how to use the Azure Linux Agent to manage virtual machine interaction with the Azure Fabric Controller.

Feature guide: How to Attach a Data Disk to a Virtual Machine

Learn how to attach a data disk to a virtual machine to store application data. A data disk is a Virtual Hard Disk (VHD) that you can create either locally with your own computer or in the cloud with Azure.


Feature guide: How to Set Up Communication with a Virtual Machine

Learn how to set up communication between virtual machines. All virtual machines that you create in Azure can automatically communicate using a private network channel with other virtual machines in the same cloud service or virtual network.

Feature guide: How to Log on to a Virtual Machine Running Linux

Learn how to install and use a Secure Shell (SSH) client to logon to a virtual machine that is running the Linux operating system.

How to: Create Management Certificates for Linux

Learn how to create and upload a management certificate, which is needed anytime you want to use the Service Management API to interact with the Azure image platform.

How to: Use root privileges on Linux virtual machines in Azure

Learn how to gain root privileges on your Linux virtual machine by uploading an SSH Key or by using your user name and password only.

Feature guide: How to Use SSH with Linux on Azure

Learn how to generate SSH keys that are compatible with Azure.


Feature guide: How to Connect Virtual Machines in a Cloud Service

Learn how to create multiple virtual machines under the same cloud service to enable the machines to communicate with each other, to load-balance between virtual machines, and to maintain high availability of the machines.

How to: Load Balance Virtual Machines

Learn how to load balance virtual machines that are running Linux and that are in a cloud service.

Install Software

How to: Install the LAMP Stack on a Linux virtual machine in Azure

Learn how to install a LAMP stack on Ubuntu or CentOS.

How to: Install MongoDB on a CentOS Linux Virtual Machine in Azure

Learn how to use the Azure Management Portal to select and install a Linux virtual machine from the marketplace, how to connect to the virtual machine using SSH or PuTTY, and how to install MongoDB on the virtual machine.


How to: Use the Command-Line Tools for Mac and Linux

The Azure Command-Line Tools for Mac and Linux are a set of command-line tools for deploying and managing Azure services. Use the command-line tools to create and manage websites and virtual machines in Azure.

How to: Use the PowerShell for Azure

PowerShell for Azure provides a command-line environment for developing and deploying applications for Azure through a Windows PowerShell cmdlets. This guide describes how to use Windows PowerShell cmdlets to create, test, deploy, and manage Azure Services.