Home > DevOps > Azure VM Images with smaller System Disk
Microsoft Azure

Azure VM Images with smaller System Disk

I was trying to deploy managed disks with windows vm’s via ARM template but the default size OS disk is 127GB. Using the Windows image with a “-smalldisk” suffix provisions a system drive with 60GB. With Microsoft putting the pagefile.sys on the D: drive which is a temporary drive you can easily get by with a 60GB hard drive. If your moving a bunch of VM’s to infrastructure-as-a-service then this is your way to go because your costs will mount quickly for storage and this is an easy way to reduce your costs.

2012-R2-Datacenter-smalldisk

2016-Datacenter-smalldisk

2016-Datacenter-Server-Core-smalldisk

2019-Datacenter-Core-smalldisk

An example of this in the parameters section of an ARM template would be as follows.

"vmOSVersion": {
      "type": "string",
      "defaultValue": "2016-Datacenter-Core-smalldisk",
      "allowedValues": [
        "2012-R2-Datacenter-smalldisk",
        "2012-R2-Datacenter",
        "2016-Datacenter-Server-Core",
        "2016-Datacenter-Server-Core-smalldisk",
        "2019-Datacenter-Core",
        "2019-Datacenter-Core-smalldisk"
      ],
      "metadata": {
        "description": "The Windows Images which can be used for deploying a Windows VM."
      }
 }

UPDATED LIST – RETRIEVED 7/29/2020

The list below was retrieve for:

  • Location: East US
  • PublisherName: MicrosoftWindowsServer
  • OfferName: WindowsServer
2008-R2-SP1-smalldisk
2012-Datacenter-smalldisk
2012-datacenter-smalldisk-g2
2012-R2-Datacenter-smalldisk
2012-r2-datacenter-smalldisk-g2
2016-Datacenter-Server-Core-smalldisk
2016-datacenter-server-core-smalldisk-g2
2016-Datacenter-smalldisk
2016-datacenter-smalldisk-g2
2019-Datacenter-Core-smalldisk
2019-datacenter-core-smalldisk-g2
2019-Datacenter-Core-with-Containers-smalldisk
2019-datacenter-core-with-containers-smalldisk-g2
2019-Datacenter-smalldisk
2019-datacenter-smalldisk-g2
2019-Datacenter-with-Containers-smalldisk
2019-datacenter-with-containers-smalldisk-g2
Datacenter-Core-1803-with-Containers-smalldisk
datacenter-core-1803-with-containers-smalldisk-g2
Datacenter-Core-1809-with-Containers-smalldisk
datacenter-core-1809-with-containers-smalldisk-g2
Datacenter-Core-1903-with-Containers-smalldisk
datacenter-core-1903-with-containers-smalldisk-g2
datacenter-core-1909-with-containers-smalldisk
datacenter-core-1909-with-containers-smalldisk-g1
datacenter-core-1909-with-containers-smalldisk-g2
datacenter-core-2004-with-containers-smalldisk
datacenter-core-2004-with-containers-smalldisk-g2