---
title: Virtual Machines should utilize Azure Managed Disks
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Virtual Machines should utilize Azure
  Managed Disks
---

# Virtual Machines should utilize Azure Managed Disks
 
## Description{% #description %}

To optimize the configuration of your virtual machines, it is recommended to migrate blob-based VHDs to managed disks. This configuration offers several default features, including default disk encryption, which provides basic protection without the need for additional encryption. Managed disks also offer increased resilience, as Microsoft manages the disk storage and handles any underlying hardware faults. Additionally, migrating to managed disks can help reduce costs compared to using storage accounts.

Managed disks are available as an option during the creation of VMs, and Azure Adviser recommends this migration for ARM-deployed virtual machines, considering both security and cost management. The impact of migrating to managed disks is minimal, with no operational impact other than the mentioned benefits.

## Remediation{% #remediation %}

There are additional costs for managed disks based off of disk space allocated. When converting to managed disks, VMs will be powered off and back on.

### From the console{% #from-the-console %}

1. Using the search feature, go to **Virtual Machines**.
1. Select the virtual machine you would like to convert.
1. Select **Disks** in the menu for the VM.
1. Select **Migrate to managed disks**.
1. Follow the prompts to convert the disk and finish by selecting **Migrate** to start the process.

**NOTE**: VMs are stopped and restarted after migration is complete.
