Linux Virtual Machines Pricing

Start your Azure free account and get 12 months free access to Virtual Machines plus $200 credit for 30 days.

Azure Virtual Machines gives you the flexibility of virtualisation for a wide range of computing solutions with support for Linux, Windows Server, SQL Server, Oracle, IBM, SAP and more. All current generation Virtual Machines include load balancing and auto-scaling at no cost. For optimal performance, we recommend pairing your Virtual Machines with Managed Disks. Standard egress charges apply.

Choose from the following payment options for Virtual Machines. Combine either option with the Azure Hybrid Benefit for additional savings.

Pay as you go

Pay for compute capacity by the second, with no long-term commitment or upfront payments. Increase or decrease compute capacity on demand. Start or stop at any time and only pay for what you use.

Learn more

Recommended for:

  • Users who prefer the low cost and flexibility of Azure Virtual Machines.
  • Applications with short-term, spiky, or unpredictable workloads that cannot be interrupted.
  • Applications being developed or tested on Azure Virtual Machines for the first time.

Reserved Virtual Machine Instances

An Azure Reserved Virtual Machine Instance is an advance purchase of a Virtual Machine for one or three years in a specified region. The commitment is made up front, and in return, you get up to 72 per cent price savings compared to pay-as-you-go pricing. Reserved Virtual Machine Instances are flexible and can easily be exchanged or returned.

Learn more

Recommended for:

  • Applications with steady-state usage.
  • Customers who want budget predictability.
  • Customers who can commit to using a virtual machine (VM) over a one-year or three-year term to reduce computing costs.

Spot pricing

Purchase unused compute capacity at deep discounts – up to 90 per cent compared to pay-as-you-go prices. *

If your workload can tolerate interruptions and its execution time is flexible, then using spot VMs can significantly reduce the cost of running your workload in Azure. Run your workloads on Virtual Machines or Virtual Machine Scale Sets.

* Actual discounts may vary based on region, VM type and Azure compute capacity available when the workload is deployed.

Learn more

Recommended for:

  • Customers who want to significantly lower their costs.
  • Interruptible applications. You can receive a notification 30 seconds in advance before your application is evicted.
  • Workloads that do not require completion within a predetermined time frame or an SLA.

Example Virtual Machines pricing

Azure Virtual Machines are designed for all budgets and workloads, starting from our economical Bs-series to our newest GPU VMs optimised for machine learning. Explore popular categories:

General purpose—Av2

Cost-effective

The Av2 virtual machines offer a cost-effective option for dev-test environments, low-traffic websites and web applications, micro services and small databases.

Burstable VMs—B1S

Most economical

Our Bs-series VM provides an economical, low-cost solution for workloads that occasionally need to burst, powered by Intel® Xeon® Processors. Free for 12 months.

Compute Optimised—Fsv2

Raw compute power

Fsv2 is our newest compute-optimised VM family and is powered by the Intel® Xeon® Platinum 8168 (Skylake) processor for raw compute power.

General purpose—Dv3

Balanced CPU and memory

Our Dv3 family is the latest generation of our general purpose VMs powered by Intel® Xeon® processors. It is appropriate for a variety of workloads.

Memory optimised—Ev3

High memory-to-core ratio

Ev3 is our latest generation of memory-optimised VMs powered by Intel® Xeon® Processors. It is great for relational database servers, caches and in-memory analytics.

HBv2 VMs now available

Optimised for applications driven by memory bandwidth

  • Powered by AMD EPYC™ 7002-series CPU cores
  • Optimised for HPC workloads such as CFD, weather modelling and seismic processing
  • 200 Gb/sec HDR InfiniBand for large-scale jobs
  • Scale up to 80,000 cores for MPI jobs
HBv2
120 Cores
480 GiB RAM
200 Gb HDR
Starting from
$1.1999 /per hour
Powered by
AMD

Explore all Virtual Machine options

Explore options in Azure Virtual Machines. Choose your OS and software combination, and find VMs for your vCPU(s) (core), RAM and storage requirements.

General purpose

Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.

Bs-series

Bs-series are economical virtual machines that provide a low-cost option for workloads that typically run at a low to moderate baseline CPU performance, but sometimes need to burst to significantly higher CPU performance when the demand rises. These workloads don’t require the use of the full CPU all the time, but occasionally will need to burst to finish some tasks more quickly. Many applications such as development and test servers, low-traffic web servers, small databases, micro services, servers for proof-of-concepts, build servers and code repositories fit into this model.
Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
B1LS 1 0.5 GiB 4 GiB $- $- $- – – Blank N/A
B1S 1 1 GiB 4 GiB $- $- $- – – Blank N/A
B1MS 1 2 GiB 4 GiB $- $- $- – – Blank N/A
B2S 2 4 GiB 8 GiB $- $- $- – – Blank N/A
B2MS 2 8 GiB 16 GiB $- $- $- – – Blank N/A
B4MS 4 16 GiB 32 GiB $- $- $- – – Blank N/A
B8MS 8 32 GiB 64 GiB $- $- $- – – Blank N/A
B12MS 12 48 GiB 96 GiB $- $- $- – – Blank N/A
B16MS 16 64 GiB 128 GiB $- $- $- – – Blank N/A
B20MS 20 80 GiB 160 GiB $- $- $- – – Blank N/A

Av2 Standard *

Av2 Standard is the latest generation of A-series virtual machines with similar CPU performance and faster disk. These virtual machines are suitable for development workloads, build servers, code repositories, low-traffic websites and web applications, micro services, early product experiments and small databases. Like the prior A Standard generation, Av2 virtual machines will include load balancing and auto-scaling at no additional charge.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
A1 v2 1 2 GiB 10 GiB $- – – Blank – – Blank $- N/A
A2 v2 2 4 GiB 20 GiB $- – – Blank – – Blank $- N/A
A2m v2 2 16 GiB 20 GiB $- – – Blank – – Blank $- N/A
A4 v2 4 8 GiB 40 GiB $- – – Blank – – Blank $- N/A
A4m v2 4 32 GiB 40 GiB $- – – Blank – – Blank $- N/A
A8 v2 8 16 GiB 80 GiB $- – – Blank – – Blank $- N/A
A8m v2 8 64 GiB 80 GiB $- – – Blank – – Blank $- N/A

Reserved Virtual Machine Instances are currently not available for the Av2-series.

* Note: The A8 – A11 VMs are planned for retirement on 3/2021. See here for more information.

D2a – D96a v4

The Da v4-series VMs are based on the 2.35 Ghz AMD EPYCTM 7452 processor, which can achieve up to 3.35 GHz. The Dav4 VM sizes offer a combination of vCPU(s), memory and temporary storage able to meet the requirements associated with most production workloads. Data disk storage is billed separately from virtual machines. To use Premium SSD disk storage, select the Das v4 VMs.
Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2a v4 2 8 GiB 50 GiB $- $- $- $- N/A
D4a v4 4 16 GiB 100 GiB $- $- $- $- N/A
D8a v4 8 32 GiB 200 GiB $- $- $- $- N/A
D16a v4 16 64 GiB 400 GiB $- $- $- $- N/A
D32a v4 32 128 GiB 800 GiB $- $- $- $- N/A
D48a v4 48 192 GiB 1,200 GiB $- $- $- $- N/A
D64a v4 64 256 GiB 1,600 GiB $- $- $- $- N/A
D96a v4 96 384 GiB 2,400 GiB $- $- $- $- N/A

D2as – D96as v4

The Das v4-series VMs support Premium SSD disk storage and are based on the 2.35 Ghz AMD EPYCTM 7452 processor, which can achieve up to 3.35 GHz. The Das v4 VM sizes offer a combination of vCPUs, memory and temporary storage able to meet the requirements associated with most production workloads.

The VM pricing and billing meters for Das v4 VMs are the same as Da v4 VM series. Persistent storage disks are billed separately from virtual machines. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2as v4 2 8 GiB 16 GiB $- $- $- $- N/A
D4as v4 4 16 GiB 32 GiB $- $- $- $- N/A
D8as v4 8 32 GiB 64 GiB $- $- $- $- N/A
D16as v4 16 64 GiB 128 GiB $- $- $- $- N/A
D32as v4 32 128 GiB 256 GiB $- $- $- $- N/A
D48as v4 48 192 GiB 384 GiB $- $- $- $- N/A
D64as v4 64 256 GiB 512 GiB $- $- $- $- N/A
D96as v4 96 384 GiB 768 GiB $- $- $- $- N/A

D2d – D64d v4 (latest generation)

The Dd v4 series virtual machines are based on the Intel® Xeon® Platinum 8272CL processor. This custom processor runs at a base speed of 2.5 Ghz and can achieve up to 3.4 Ghz all core turbo frequency. The Ddv4/Ddsv4 virtual machine sizes feature fast, large local SSD storage (up to 2,400 GiB) and are well suited for applications that benefit from low-latency, high-speed local storage. For example, applications that need large numbers of reads and writes to temporary storage or applications that need temporary storage data for scratch files or caches would benefit from these new VM series.

The Dd v4 VM sizes offer a combination of vCPUs, memory and temporary storage able to meet the requirements associated with most production workloads. You can attach Standard SSDs and Standard HDDs disk storage to these VMs. To use Premium SSD or Ultra Disk storage, select Dds v4 VMs. Disk storage is billed separately from virtual machines.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2d v4 2 8 GiB 75 GiB $- $- $- $- N/A
D4d v4 4 16 GiB 150 GiB $- $- $- $- N/A
D8d v4 8 32 GiB 300 GiB $- $- $- $- N/A
D16d v4 16 64 GiB 600 GiB $- $- $- $- N/A
D32d v4 32 128 GiB 1,200 GiB $- $- $- $- N/A
D48d v4 48 192 GiB 1,800 GiB $- $- $- $- N/A
D64d v4 64 256 GiB 2,400 GiB $- $- $- $- N/A

D2ds – D64ds v4 (latest generation)

The Dds v4 series virtual machines are based on the Intel® Xeon® Platinum 8272CL processor. This custom processor runs at a base speed of 2.5 Ghz and can achieve up to 3.4 Ghz all core turbo frequency. The Ddv4/Ddsv4 virtual machine sizes feature fast, large local SSD storage (up to 2,400 GiB) and are well suited for applications that benefit from low latency, high-speed local storage, such as applications that need fast reads and writes to temporary storage, or applications that need temporary storage for caches or temporary files.

The Dds v4 VM sizes offer a combination of vCPUs, memory and temporary storage able to meet the requirements associated with most production workloads. You can attach Standard SSDs, Standard HDDs and Premium SSDs disk storage to these VMs. You can also attach Ultra Disk storage based on its regional availability. Disk storage is billed separately from virtual machines.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2ds v4 2 8 GiB 75 GiB $- $- $- $- N/A
D4ds v4 4 16 GiB 150 GiB $- $- $- $- N/A
D8ds v4 8 32 GiB 300 GiB $- $- $- $- N/A
D16ds v4 16 64 GiB 600 GiB $- $- $- $- N/A
D32ds v4 32 128 GiB 1,200 GiB $- $- $- $- N/A
D48ds v4 48 192 GiB 1,800 GiB $- $- $- $- N/A
D64ds v4 64 256 GiB 2,400 GiB $- $- $- $- N/A

D2 – D64 v4 (latest generation without temporary storage)

The D v4 series virtual machines feature the Intel® Xeon® Platinum 8272CL (second generation Intel® Xeon® Scalable processor). This custom processor runs at a base speed of 2.5 Ghz and can achieve up to 3.4 Ghz all core turbo frequency. The Dv4/Dsv4 virtual machine sizes do not have any temporary storage. The D v4 VM sizes offer a combination of vCPUs and memory able to meet the requirements associated with most production workloads. You can attach Standard SSDs and Standard HDDs disk storage to these VMs. If you prefer to use Premium SSD or Ultra Disk storage, please select the Ds v4 virtual machines instead. Disk storage is billed separately from virtual machines. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2 v4 2 8 GiB N/A $- $- $- $- N/A
D4 v4 4 16 GiB N/A $- $- $- $- N/A
D8 v4 8 32 GiB N/A $- $- $- $- N/A
D16 v4 16 64 GiB N/A $- $- $- $- N/A
D32 v4 32 128 GiB N/A $- $- $- $- N/A
D48 v4 48 192 GiB N/A $- $- $- $- N/A
D64 v4 64 256 GiB N/A $- $- $- $- N/A

D2s – D64s v4 (latest generation without temporary storage)

The Ds v4 series virtual machines feature the Intel® Xeon® Platinum 8272CL (second generation Intel® Xeon® Scalable processor). This custom processor runs at a base speed of 2.5 Ghz and can achieve up to 3.4 Ghz all core turbo frequency. The Dv4/Dsv4 virtual machine sizes do not have any temporary storage. The Ds v4 VM sizes offer a combination of vCPUs and memory able to meet the requirements associated with most production workloads. You can attach Standard SSDs, Standard HDDs and Premium SSDs disk storage to these VMs. You can also attach Ultra Disk storage based on its regional availability. Disk storage is billed separately from virtual machines. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2s v4 2 8 GiB N/A $- $- $- $- N/A
D4s v4 4 16 GiB N/A $- $- $- $- N/A
D8s v4 8 32 GiB N/A $- $- $- $- N/A
D16s v4 16 64 GiB N/A $- $- $- $- N/A
D32s v4 32 128 GiB N/A $- $- $- $- N/A
D48s v4 48 192 GiB N/A $- $- $- $- N/A
D64s v4 64 256 GiB N/A $- $- $- $- N/A

D2-64 v3

The Dv3-series virtual machines run on the Intel® Xeon® Platinum 8272CL processor (second generation Intel® Xeon® Scalable processors), Intel® Xeon® 8171M 2.1GHz (Skylake), Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors in a hyper-threaded configuration. The Dv3-series sizes offer a combination of vCPU(s), memory and local disks well suited for most production workloads.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2 v3 2 8 GiB 50 GiB $- $- $- $- N/A
D4 v3 4 16 GiB 100 GiB $- $- $- $- N/A
D8 v3 8 32 GiB 200 GiB $- $- $- $- N/A
D16 v3 16 64 GiB 400 GiB $- $- $- $- N/A
D32 v3 32 128 GiB 800 GiB $- $- $- $- N/A
D48 v3 48 192 GiB 1,200 GiB $- $- $- $- N/A
D64 v3 64 256 GiB 1,600 GiB $- $- $- $- N/A

D2s-64s v3

The Dsv3-series supports premium storage and run on the Intel® Xeon® Platinum 8272CL processor (second generation Intel® Xeon® Scalable processors), Intel® Xeon® 8171M 2.1GHz (Skylake), Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors with Intel Turbo Boost Technology 2.0 and feature Intel® Hyper-Threading Technology. The Dsv3-series sizes offer a combination of vCPU(s), memory and temporary storage well suited for most production workloads.

The VM pricing and billing meters for Dsv3-series are the same as Dv3-series. Persistent storage disks are billed separately from virtual machines. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D2s v3 2 8 GiB 16 GiB $- $- $- $- N/A
D4s v3 4 16 GiB 32 GiB $- $- $- $- N/A
D8s v3 8 32 GiB 64 GiB $- $- $- $- N/A
D16s v3 16 64 GiB 128 GiB $- $- $- $- N/A
D32s v3 32 128 GiB 256 GiB $- $- $- $- N/A
D48s v3 48 192 GiB 384 GiB $- $- $- $- N/A
D64s v3 64 256 GiB 512 GiB $- $- $- $- N/A

D1-5 v2

The Dv2-series virtual machines run on the Intel® Xeon® Platinum 8272CL processor (second generation Intel® Xeon® Scalable processors), Intel® Xeon® 8171M 2.1GHz (Skylake), Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors with the Intel Turbo Boost Technology 2.0. The D1-5 v2 sizes offer a balanced combination of vCPU(s), memory and local disk for most production workloads.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
D1 v2 1 3.5 GiB 50 GiB $- $- $- $- N/A
D2 v2 2 7 GiB 100 GiB $- $- $- $- N/A
D3 v2 4 14 GiB 200 GiB $- $- $- $- N/A
D4 v2 8 28 GiB 400 GiB $- $- $- $- N/A
D5 v2 16 56 GiB 800 GiB $- $- $- $- N/A

D1s-5s v2

The Dsv2-series virtual machines run on the Intel® Xeon® Platinum 8272CL processor (second generation Intel® Xeon® Scalable processors), Intel® Xeon® 8171M 2.1GHz (Skylake), Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processors with the Intel Turbo Boost Technology 2.0 and support Premium SSDs disk storage. The Dsv2-series sizes offer a balanced combination of vCPU(s), memory and local disk for most production workloads. The pricing and billing meters for Dsv2-series virtual machines are the same as Dv2-series. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
DS1 v2 1 3.5 GiB 7 GiB $- $- $- $- N/A
DS2 v2 2 7 GiB 14 GiB $- $- $- $- N/A
DS3 v2 4 14 GiB 28 GiB $- $- $- $- N/A
DS4 v2 8 28 GiB 56 GiB $- $- $- $- N/A
DS5 v2 16 56 GiB 112 GiB $- $- $- $- N/A

DC-series

DC series is a new family of virtual machines in Azure that can help protect the confidentiality and integrity of your data and code while it’s processed in the public cloud. These machines are backed by the latest generation of 3.7GHz Intel XEON E-2176G Processor with SGX technology. With the Intel Turbo Boost Technology, these machines can go up to 4.7GHz. DC series instances enable customers to build secure enclave-based applications to protect their code and data while it’s in use.
Add to
estimate
Instance Core RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
DC2s 2 8 GiB 100 GiB $- – – Blank – – Blank $- N/A
DC4s 4 16 GiB 200 GiB $- – – Blank – – Blank $- N/A

Reserved Virtual Machine Instances are currently not available for the Dc-series.

DCsv2-series

DCsv2-series is the newest generation of DC-series virtual machines in Azure that can help protect the confidentiality and integrity of your data and code whilst it’s processed in the public cloud. These machines are backed by the latest generation of 3.7 GHz Intel XEON E-2288G Processor with SGX technology. With the Intel Turbo Boost Technology, these machines can go up to 5.0 GHz. DC series instances enable customers to build secure enclave-based applications to protect their code and data while it’s in use.

Use DCsv2-series for a larger selection of sizes, 2x EPC (Enclave Page Cache) memory and a higher level of support.

Add to
estimate
Instance Core RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
DC1s v2 1 4 GiB 50 GiB $- $- $- $- N/A
DC2s v2 2 8 GiB 100 GiB $- $- $- $- N/A
DC4s v2 4 16 GiB 200 GiB $- $- $- $- N/A
DC8 v2 8 32 GiB 400 GiB $- $- $- $- N/A

Compute Optimised

High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes and application servers.

Fsv2-series

The Fsv2-series virtual machines provide 2-GiB of RAM and 8 GB of local temporary storage (SSD) per vCPU(s) and are optimised for compute intensive workloads. The Fsv2-series VMs are hyper-threaded and based on the Intel® Xeon® Platinum 8272CL (second generation Intel® Xeon® Scalable processors), or the Intel Xeon® Platinum 8168 (Skylake) processor. These virtual machines are ideal for scenarios such as batch processing, web servers, analytics and gaming. The Fsv2 VMs can be attached to Premium SSD or Ultra Disk persistent storage. Persistent storage disks are billed separately from virtual machines. See pricing for disks.

Add to
estimate
Instance vCPU(s) RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
F2s v2 2 4 GiB 16 GiB $- $- $- $- N/A
F4s v2 4 8 GiB 32 GiB $- $- $- $- N/A
F8s v2 8 16 GiB 64 GiB $- $- $- $- N/A
F16s v2 16 32 GiB 128 GiB $- $- $- $- N/A
F32s v2 32 64 GiB 256 GiB $- $- $- $- N/A
F48s v2 48 96 GiB 384 GiB $- $- $- $- N/A
F64s v2 64 128 GiB 512 GiB $- $- $- $- N/A
F72s v2 72 144 GiB 576 GiB $- $- $- $- N/A

F series

The F-series virtual machines feature 2-GiB RAM and 16 GiB of local SSD temporary storage per CPU core and are optimised for compute intensive workloads. The F-series sizes are based Intel® Xeon® Platinum 8272CL processor (second generation Intel® Xeon® Scalable processors), Intel® Xeon® 8171M 2.1GHz (Skylake), Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell) or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell) processor. These virtual machines are suitable for scenarios such as batch processing, web servers, analytics and gaming.

Persistent storage disks are billed separately from virtual machines. To use Premium SSDs disks, use the Fs-series VMs. The pricing and billing meters for Fs sizes are the same as F series. See pricing for disks

Add to
estimate
Instance Core RAM Temporary
storage
Pay as you go
1 year reserved
(% Savings)
3 year reserved
(% Savings)
Spot
(% Savings)
F1 1 2 GiB 16 GiB $- $- $- $- N/A
F2 2 4 GiB 32 GiB $- $- $- $- N/A
F4 4 8 GiB 64 GiB $- $- $- $- N/A
F8 8 16 GiB 128 GiB $- $- $- $- N/A