Understanding Azure Premium SSD Data Storage & Pricing

If you are deploying services that require fast data then you might need to use shared SSD storage for your data disks, and this is made possible using a Premium Storage Account with DS-Series or GS-Series virtual machines. Read on to learn more.

More Speed, Scottie!

A typical virtual machine will offer up to 300 IOPS (Basic A-Series) or 500 IOPS (Standard A-Series and up) per data disk. There are a few ways to to improve data performance:

  • More data disks: You can deploy a VM spec that supports more than 1 data disk. If each disk has 500 IOPS, then aggregating the disks multiplies the IOPS. If I store my data across 4 data disks then I have a raw potential 2000 IOPS.
  • Disk caching: You can use a D-Series or G-Series to store a cache of frequently accessed data on the SSD-based temporary drive. SSD is a nice way to improve data performance.
  • Memory caching: Some application offer support for caching in RAM. A large memory type such as the G-Series offers up to 448 GB RAM to store data sets in RAM. Nothing is faster than RAM!

Shared SSD Storage

Although there is nothing faster than RAM there are a couple of gotchas:

  • If you have a large data set then you might not have enough RAM to cache in.
  • G-Series VMs are expensive – the cloud is all about more, smaller VMs.

If an SSD cache is not big enough either, then maybe shared SSD storage for data disks would offer a happy medium: lots of IOPS and low latency; It’s not as fast as RAM, but it’s still plenty fast! This is why Microsoft gave us the DS- and GS-Series virtual machines which use Premium Storage.

Premium Storage

Shared SSD-based storage is possible only with the DS- and GS-Series virtual machines – note that DS- and GS-Series VMs can use standard storage too. Each spec offers support for a different number of data disks. There are some things to note with Premium Storage:

  • OS disk: By default, the OS disk is stored in the same premium storage account as the premium data disks if you just go next-next-next. It’s possible to create the OS disk in a standard storage account to save money – remember that data needs the speed, not the OS.
  • Spanning storage accounts: You can exceed the limits (35 TB) of a single premium storage account by attaching data disks from multiple premium storage accounts.
  • VM spec performance limitations: Each VM spec limits the amount of throughput that it supports to premium storage – some VMs will run slower than the potential of the data disks. Make sure that you choose a spec that supports enough throughput.
  • Page blobs: Premium storage can only be used to store VM virtual hard disks.
  • Resiliency: Premium Storage is LRS only. Consider snapshots or VM backups if you need more insurance.
  • Region support: Only a subset of regions support shared SSD storage at this time: East US2, West US, West Europe, Southeast Asia, Japan East, Japan West, Australia East.
  • Premium storage account: You must deploy a premium storage account (PowerShell or Preview Portal); you cannot use a standard storage account which is bound to HDD-based resources.

imageThe maximum sizes and bandwidth of Azure premium storage

Premium Storage Data Disks

Standard storage data disks are actually quite simple compared to premium storage data disks. If you use the UI, then you can only create data disks of the following sizes and specifications:

image The 3 premium storage disk size baselines

However, you can create a premium storage data disk of your own size, up to 1023 GB (the normal Azure VHD limit). Note that Azure will round up the size of the data disk to determine the performance profile based on the above table. So if I create a 50 GB premium storage VHD, it will have the same performance profile as a P10 (128 GB) VHD with 500 IOPS and 100 MB per second potential throughput (see VM  spec performance limitations, above).

Pricing

You can find the pricing for premium storage on the same page as standard storage. Billing is based on the 3 models of data disk, P10, P20, and P30. As with performance, the size of your disk is rounded up to the next model, and you are charged based on the amount of storage actually consumed.

If you use snapshots then there is an additional billing rate.

Example

I have been asked to deploy an Azure DS-Series virtual machine in Western Europe with 100 GB of storage. I must be able to support up to 100 MB/second. The virtual machine only needs 1 vCPU and 3.5 GB RAM.

So, let’s start with the VM. 1 vCPU and 3.5 GB RAM steers me towards the DS1 virtual machine. If I check out that spec I find that the VM meets the CPU and RAM requirements. But check out the last column; The DS1 only supports a throughput of 32 MB/second which is well below the 100 MB/second which is required. I need to upgrade to a more expensive DS3 that has 4 vCPUs and 14 GB RAM, and supports up to 128 MB/second.

Note: I have searched high and low and cannot find a public price for DS- or GS-Series virtual machines. As far as I know, the only pricing is in I got pricing for virtual machines from the “Ibiza” preview portal. There I could see that the DS3 will cost around €399/month, compared to around €352/month for the D3.

image

[EDIT] A comment from Samir Farhat (below) made me go back and dig. So, the pricing page does mention DS- and GS-Series virtual machines. GS-Series are the same price as G-Series. However, the page incorrectly says that DS-Series pricing is based on that of the D-Series. That might have been true once, but the D-Series was reduced in price and the DV2-Series was introduced. Now, the D-Series is cheaper than the DS-Series. The DS-Series is the same price as the DV2-Series. I’ve checked the pricing in the Azure Preview Portal to confirm.

If I use PowerShell I can create a 50 GB data disk in the standard storage account. Azure will round this disk up to the P10 rate to determine the per GB pricing and the performance. My 50 GB disk will offer:

  • 500 IOPS
  • 100 MB/second (which was more than the DS1 or DS2 could offer)

The pricing will be €18.29 per GB per month. But don’t forget that there are other elements in the VM pricing such as OS disk, temporary disk, and more.

Once could do storage account snapshots to “backup” the VM, but the last I heard it was disruptive to service and not supported. There’s also a steep per GB cost. Use Azure Backup for IaaS VMs and you can use much cheaper blob blobs in standard storage to perform policy-based non-disruptive backups of the entire VM.

Please follow and like us:

19 Comments on Understanding Azure Premium SSD Data Storage & Pricing

  1. Hi Aidan,
    The pricing for the DS or GS Series is the same than D and G Series. The compute pricing is the same. It’s the storage cost (Standard vs Premium) which will make the difference.
    We can see that Microsoft stated that on the Azure VM Pricing
    https://azure.microsoft.com/en-us/pricing/details/virtual-machines/

    ——————–
    We have a new variant of the D-series sizes called “DS” that are specifically targeted for Premium Storage. The pricing and billing meters for the DS sizes are the same as D-series. SSD storage included in D-series VMs is local temporary storage. For persistent storage, use DS VMs instead and purchase Premium Storage separately.
    ——————-

    Thanks for the article

  2. “…you are charged based on the amount of storage actually consumed.”

    Not for Premium Storage. You get charge the entire monthly rate whether you use 1 byte or the entire available capacity. It’s a use it or lose it model for Premium Store. You get charged the full monthly fee regardless of how much you use.

    • See my other reply. In this context, “space used” is the size of the deploy disk, not the P10, P20, P30 specs.

  3. Florin Loghiade // October 5, 2015 at 10:36 PM // Reply

    Hello Aidan,

    Two corrections if I may.

    =========
    As with performance, the size of your disk is rounded up to the next model, and you are charged based on the amount of storage actually consumed.

    =========

    The difference between standard and premium accounts is that the standard storage accounts provision sparse disks and you pay for the size of amount of stored data and the premium storage accounts provision persistent full size disks and catalog them under the performance / pricing profile based on the rounding up process (up to 128 P10, 512 P20 and 1023 for P30)

    Example:

    If provision a 1023 GB disk and you upload 5 GB of data in a standard storage account then your credit card / monthly credit will be charged with €0.0422 per GB for the first terabyte and so on.

    Now following the example above, if you create a 1023 GB P30 disk in a premium storage account and upload 5 GB of data on it, you will pay exactly €125.39. It doesn’t matter if the disk is empty or full.

    It says right here: https://azure.microsoft.com/en-us/pricing/details/storage/
    Quote from FAQ:
    Q: If I attach an empty 100GB disk to my virtual machine, will I be charged for the entire 100 GB or just the storage space I use?
    A: If the empty 100GB disk is backed by a Premium Storage Account then you will be charged for a P0 (128GB) disk. If any other type of Storage Account is used then you’ll only be billed for the storage space used to store the data that is written to the disk regardless of the allocated disk size.

    ========
    The pricing will be €18.29 per GB per month. But don’t forget that there are other elements in the VM pricing such as OS disk, temporary disk, and more.
    ======

    The pricing is per disk/month not per GB/month :)

    Thanks for the article!

    • Thanks, but you misread the post or I wasn’t clear – by “space used” in this context I meant the disk sizes.

  4. I previously had my Standard VMs using standard storage but I needed the performance of the DS Series for my SQL server. I am backing up my VMs with Azure Recovery Services Backup Vault but I cannot now do this with my SQL server as Recovery services are not supported with premium storage.
    What are my options for backing up now?

  5. So, the pricing here in the table
    https://azure.microsoft.com/en-us/pricing/details/storage/
    is this per month per gb or simply per month ?

    I don’t get it.
    Thanks

    • Unfortunately, you’re not the only one to not get it. When you look at billing for Premium Storage, it’s based on “units” in decimal form. I’m guessing it’s based on numbers of P10, P20, P30.

  6. Hi,

    did anybody know how the pricing are for a DS VM stored on premium storage?
    Thanks

  7. How does one go about creating a DS-Series or GS-Series VM with a standard OS disk. My goal is to have a standard OS disk and premium attached disks.

  8. Great post! So if you buy 200GB premium storage with you’ll get P10? What if you want to add another 400GB? Will that “upgrade” it to P20? Or will you need to plan ahead and move data around?

  9. Never mind me. I found the answer here: https://azure.microsoft.com/en-us/documentation/articles/storage-premium-storage/

    You can easily increase the size of existing disks. For example, if you wish to increase the size of a 30 GB disk to 128GB or to 1 TB. Or, if you wish to convert your P20 disk to a P30 disk because you need more capacity or more IOPS and throughput. You can expand the disk using “Update-AzureDisk” PowerShell commandlet with “-ResizedSizeInGB” property. For performing this action, disk needs to be detached from the VM or the VM needs to be stopped.

    So you need to plan a shutdown while you upgrade your disks.

  10. Chris Dodds // January 3, 2017 at 8:59 PM // Reply

    Standard vs. Premium Storage Disks — Let’s take P10 for example… I have heard that on a Standard disk of the same size, you are guranteed UP TO 500 IOPS where as on the Premium Storage Disk equivalent P10 of 128GB, you are guaranteed at least 500 IOPS (and possibly more?) Is this correct? I cannot seem to find anything online to back up this claim. Any guidance is appreciated.

    • No, Standard or Premium you are guaranteed at least 500 IOPS. Standard used to limit you to that, but a few months ago I noticed that I can burst to well over 600 IOPS at times.

Leave a comment

Your email address will not be published.

*