Skip Navigation

Linux virtual machines in Azure

Create and deploy enterprise-grade open-source and community-driven software in seconds and reduce costs.

Get up and running with your favorite Linux distribution

Select your preferred distribution with Azure Linux virtual machines (VMs), including Red Hat, SUSE, Ubuntu, CentOS, Debian, and CoreOS—about 50 percent of all Azure compute cores are Linux. Use preconfigured solutions from Oracle and other open-source VM-compatible providers and find Azure-optimized Linux images from publishers of your choice. Get the cloud's only co-located technical support from Azure, Red Hat, and SUSE with just one ticket.

See the supported Linux distributions on Azure

Explore Linux VM images on the Marketplace

Use the tools and stacks you love

Develop applications in Java, Python, PHP, Node.js, Go, .NET Core, and other technologies and deploy them in Linux VMs. Create your solutions and host Java application servers using Apache Tomcat, Red Hat JBoss, IBM WebSphere, or Oracle WebLogic in Azure VMs. Run databases including MySQL/MariaDB, PostgreSQL, MongoDB, SQL on Linux, Cassandra, and Redis.

Start building and deploying Java apps on Azure

Learn how to install a LAMP stack in a Linux VM

Learn how to create a MEAN stack in a Linux VM

Buy reservations for your Linux VMs and save up to 72 percent

Reduce costs—up to 72 percent compared to pay-as-you-go prices—with one-year or three-year terms on Azure Reserved Virtual Machine Instances for Linux. Combine reserved instances with Azure Hybrid Benefit for Linux to use your pre-existing on-premises Red Hat or SUSE software subscriptions on Azure. Alternatively, pre-pay for your SUSE and Red Hat software usage in Azure to save money compared to pay-as-you-go prices.

Learn more about Azure Hybrid Benefit for Linux

Customize and accelerate your Linux VM deployments

Deploy Linux VMs faster through Azure Resource Manager with community-contributed quickstart templates. Provision and manage Linux VMs in Azure using your favorite DevOps tools, including Ansible, OpenShift, Chef, Jenkins, Puppet, and Terraform.

Learn more about Azure Resource Manager

Find Azure quickstart projects on GitHub

Get built-in security and management for your Linux VMs

Improve the security of your Azure Linux VMs by integrating your workloads with Azure Active Directory (Azure AD) authentication. Monitor your VMs by collecting, viewing, and analyzing log data and use extensions to configure diagnostics. Troubleshoot your Linux VMs in production using the virtual machine serial console.

Secure and protect your VMs

Comprehensive security and compliance, built in

Get the power, control, and customization you need at competitive prices

Burstable VMs—B1s

Most economical

Our Bs-series VMs provide an economical, low-cost solution for workloads that normally don't use a lot of CPU, but occasionally need to burst to handle higher workloads. Free for 12 months.

Compute optimized—Fsv2

Raw compute power

Fsv2 is our newest compute-optimized VM family and uses the Intel Skylake processor. Fsv2 delivers the latest Intel CPU for raw compute power.

General purpose—Dv4

Balanced CPU and memory

The Dv4 family is the latest generation of our general-purpose VMs. It's appropriate for a variety of workloads.

Memory optimized—Ev4

High memory-to-core ratio

Ev4 is the latest memory-optimized VM. It's great for relational database servers, caches, and in-memory analytics.

Configure and estimate the costs of your Azure VMs using the pricing calculator or learn more about Linux VM pricing.

Trusted by companies of all sizes

“We want to expand our use of Azure for as many use cases as possible. The cloud gives us more opportunities to innovate, so we can keep offering more and more value for all Canadians.”

Paolo Chiarotto, Senior Director, SAP Platform, Loblaw Companies Limited
Loblaw Companies Limited

“Running SAP solutions on Azure gives us the agility and flexibility we need to disrupt our industry in a way that improves our customers’ access to the products and services they need.”

Dan Regalado, Vice President of Global Technology Transformation and Strategic Partnerships, Walgreens Boots Alliance
Walgreens Boots Alliance

The best performance at the best cost

Italian ERP leader reduces costs and effort in the cloud with Microsoft SQL Server on Linux-based Azure virtual machines.

Team System

Integrating data from hybrid sources at scale

Adobe built its data lake with Azure Data Lake Storage and Azure infrastructure as a service (IaaS) offerings like Azure Virtual Machines.

Adobe

A central source of protected IT services for 200 organizations

Mount Sinai boosts collaboration between more than 10,000 providers to improve care with Microsoft Azure.

Mount Sinai

Everything you need to get started with Linux VMs

Get instant access and a $200 credit by signing up for an Azure free account.

Learn how to provision your first VM with 5-minute quickstart tutorials and developer documentation.

Enhance your VM with additional features, like security and backup services.

Documentation, training, and migration resources

5-minute quickstart

Build an NGINX web-server within an Ubuntu VM using:

Learning modules

Learn how to provision VMs on Azure with step-by-step guidance from Microsoft Learn.

Community and Azure support

Ask questions and get support from Microsoft engineers and Azure community experts.

Migrate to Azure

Manage costs and migrate apps, data, and infrastructure with these free resources.

Popular templates and labs

Discover self-paced labs and popular quickstart templates for common configurations.

Pre-provisioned VMs and partner solutions

Connect with certified partners and choose from thousands of apps and VM images on:

Azure Virtual Machines updates, blogs, and announcements

Frequently asked questions about Azure and Azure VMs

  • Azure supports all the major Linux distributions, including Red Hat Enterprise Linux, CentOS, CoreOS, Debian, Oracle Linux, SUSE Linux Enterprise, openSUSE, and Ubuntu.
  • A range of guest operating systems, including the Azure-endorsed Linux distributions and supported Windows Server versions. Migrate virtual machines from these VMware and Microsoft Hyper-V environments with Azure Site Recovery. VMs migrated from these on-premises virtualization platforms run as native Azure IaaS VMs and aren’t dependent on the on-premises hypervisor.
  • Azure offers a broad range of virtual machines—there’s a VM for every workload. View the entire set of Azure Virtual Machine Series or read the documentation for Linux VMs to learn more.
  • The Azure VM technical documentation pages, Azure VM Series pages, and Azure VM pricing calculator can help you determine your VM needs.
  • You get co-located technical support from Azure, Red Hat, and SUSE with just one ticket. Explore Azure support options and choose the plan that best fits your needs.

    Learn more about supported distributions and versions

  • Of course. Create an Azure free account to learn how Azure works, try products and cloud services, and view tutorials on how to deploy your first solution in 10 minutes or less.

    Get started

  • There are no upfront costs and you only pay for what you use. Use Azure Reserved VM Instances and save up to 72 percent. Additionally, through Azure Hybrid Benefit for Linux, you can use your pre-existing on-premises Red Hat or SUSE software subscriptions on Azure. Alternatively, pre-pay for your SUSE and Red Hat software usage in Azure, and save money over pay-as-you-go prices.
  • Yes. Learn more about Azure dev/test pricing and take advantage of discounts on a variety of other Azure services.
  • More than 95 percent of Fortune 500 companies use Azure. Azure has more global regions than any cloud provider and offers the most comprehensive set of compliance offerings. Azure offers built-in support for the most popular integrated development environments trusted by more than 20 million developers—Visual Studio and Visual Studio Code. Compare Azure vs. AWS. And, according to the Linux Foundation, Microsoft is a significant contributor to the Linux kernel.

    Compare Azure vs. AWS

  • Explore this comprehensive approach. There are several Microsoft and partner tools and a large ecosystem of partners to help migrate on-premises VMs to Azure. Visit the Azure migration center to learn more.
  • Create Linux VMs in Azure through the Azure portal, Azure PowerShell, or Azure CLI:
    • The Azure portal provides a browser-based user interface to create VMs and associated resources.
    • Use the Azure PowerShell module to create and manage Azure resources from the PowerShell command line or in scripts.
    • Use the Azure CLI to create and manage Azure resources from the command line or in scripts.

    For more information please refer to the documentation.

  • Microsoft offers a range of OS-independent SLAs for Azure VMs. Read the SLA for Azure Virtual Machines.
  • Most Azure VMs come with temporary non-persistent local storage. Additionally, Azure offers HDD and SSD storage for data. Learn more about Azure Disk Storage. Refer to the Azure VM technical documentation to learn about the Azure disks that are available for each VM series.
  • Virtual Machine Scale Sets help you create and manage a group of load-balanced and autoscaling VMs. Deploy virtual machine scale sets using Azure Resource Manager templates, which support Windows and Linux platform images and custom images and extensions.
  • Take advantage of Azure Hybrid Benefit to use your existing on-premises Red Hat Enterprise Linux and SUSE Linux Enterprise Server subscriptions when you convert your Red Hat Enterprise Linux and SUSE Linux Enterprise Server pay-as-you-go Azure VMs to bring-your-own-subscription billing. Typically, VMs deployed from pay-as-you-go images on Azure will incur both an infrastructure fee and a software fee. With Azure Hybrid Benefit, pay-as-you-go VMs can be converted to a bring-your-own-subscription billing model without a redeployment, so you can avoid any risk of downtime. Refer to the documentation for more information.

Ready when you are—let’s set up your Azure free account.