Blog Post

Azure Compute Blog
3 MIN READ

Announcing general availability of Ephemeral OS Disk with full caching for VM/VMSS

viveksingla's avatar
viveksingla
Icon for Microsoft rankMicrosoft
Sep 09, 2026

Today, we're excited to announce the GA of Ephemeral OS disk with full caching, designed to significantly enhance performance and reliability by utilizing local storage. This feature is ideal for AI workloads and IO-sensitive workloads, as it eliminates dependency on remote storage by caching the entire OS image on local storage.

Why full caching matters?

With the default Ephemeral OS disk caching mode, writes are stored locally, while reads for files in the base OS image can still depend on remote storage. With Ephemeral OS Disk with full caching, the entire OS disk image is cached on local storage, removing the dependency on remote storage for OS disk reads. Once caching is complete, all OS disk IO is served locally. This results in:

  • Improved Reliability: Improved resilience during remote storage disruptions
  • High Performance: Consistently fast OS disk performance with low latency
  • Preserve VM provisioning speed: Caching occurs asynchronously after the VM starts, so provisioning doesn't wait for caching to complete.

These benefits make full caching well suited for IO-sensitive stateless workloads that need fast & reliable OS disk, including:

  • AI training & inferencing workloads
  • Quorum-based databases
  • Data analytics and real-time processing systems
  • Large-scale stateless services

How it works?

When full OS caching is enabled:

  • Azure uses the VM's local cache, resource, or NVMe disk to host the fully cached OS disk.
  • Local storage capacity is reduced by 2× the OS disk size + 1 GB to accommodate OS caching
  • The OS disk is cached in the background after VM boot, ensuring provisioning doesn't wait for caching to complete
  • After caching completes, OS disk I/O is served from local storage

GA availability

Ephemeral OS disk with full caching is generally available in all Azure public regions for supported VM sizes with eight or more vCPUs in these series:

  1. All N-series, L-series, M-series, and H-series VMs
  2. v5, v6 and v7 D-series, DC-series, E-series, Eb-series, and EC-series VMs
  3. v6 and v7 F-series

There is no additional charge for full caching beyond the standard VM and and the applicable Standard SSD or Premium SSD cost for base OS disk. Support for VM sizes with 2 or 4 vCPUs is planned for a future release.

Getting started

Customers can enable Ephemeral OS disk with full caching when creating new VMs or VMSS by using the Azure CLI, or by updating their ARM templates or REST API definitions and setting the enableFullCaching flag for Ephemeral OS disks.

Azure CLI

Use the --ephemeral-os-disk-enable-full-caching parameter alongside the existing Ephemeral OS disk parameters:

az vm create \
  --resource-group myResourceGroup \
  --name myVM \
  --image imageName \
  --size Standard_D8ds_v5 \
  --storage-sku Premium_LRS \
  --ephemeral-os-disk true \
  --ephemeral-os-disk-placement ResourceDisk \
  --ephemeral-os-disk-enable-full-caching true \
  --os-disk-caching ReadOnly \
  --admin-username azureuser \
  --generate-ssh-keys

For a scale set, use the same Ephemeral OS disk parameters with `az vmss create`.

ARM templates

Use API version `2025-04-01` or later and set `enableFullCaching` to `true` in `diffDiskSettings`.

For a VM, add the setting under `properties.storageProfile.osDisk`:

"resources": [
"name": "[parameters('virtualMachineName')]",
            "type": "Microsoft.Compute/virtualMachines",
            "apiVersion": "2025-04-01",
..
..
"osDisk":
    {
    "diffDiskSettings":
        {
        "option": "Local",
        "placement": "ResourceDisk",
        "enableFullCaching": true
        },

    "caching": "ReadOnly",
    "createOption": "FromImage",
    "managedDisk":
        {
        "storageAccountType": "Premium_LRS"
        }
    }

For a VM scale set, add the same OS disk configuration under `properties.virtualMachineProfile.storageProfile.osDisk`.

Learn more

Updated Sep 09, 2026
Version 2.0
No CommentsBe the first to comment