Azure Basics: Premium Storage

I thought I would do a lap around Azure Premium Storage to clear some fog.

Premium storage is Solid State Drive (SSD) backed storage.  That means more expensive but mostly faster storage.

You might have heard the numbers?

Now, like everything related to high performance, there are a few variables to consider to get the most pert out of the service.  This is what I’m going to talk about here.

Premium storage vs D Series

SSD-Drive-icon[1]First thing to clear out, Premium storage isn’t directly related to D Series and vis versa.

The D Series VMs are big ass VMs optimized for heavy CPU load.  They have huge amount of memory and to complement that, they have local SSD storage for scratch space.

That means the local SSD is a temp storage.  When the VM gets shut down (because you requested to, because there was a planned maintenance or because there was some physical failures), the content of local SSD is gone.

So don’t put anything you cannot lose there.

That being said, D Series are very handy VMs.  Like all VM models they take minutes to setup.

I used them at a customer engagement to spun a database used to migrate 2 databases in one.  The team was trying to run the migration scripts (once off scripts not optimized for performance and running on million records tables) for weeks on laptops and normal VMs without success.  With a D series VM, we put the database on the scratch disk and the scripts ran at acceptable speed.  We didn’t care to lose the DB content on reboot since that was copy of data anyway.

Couple of limitations

To use Premium Storage, you need to create a Premium Storage account.  You cannot just create a Premium Storage container within your existing account.

This comes with a few limitations:

Summary

There is more to it than that and Tamar Myers wrote a thorough guide on Premium Storage here.

The main confusion typically is between local SSD storage and Premium Storage.  Premium Storage is external to VMs and 3-times replicated.  Local SSD is used either for caching or as local temp drive.


Leave a comment