Identify and remove old Azure virtual machine (VM) disks snapshots for cost optimization. A virtual machine disk snapshot is considered old when the VM resource is older than the number of days (e.g. 30 days) specified in the rule settings (threshold). The threshold must be configured in the rule settings, on the Trend Cloud One™ – Conformity account console.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
optimisation
A snapshot is a read-only copy of a virtual machine disk. Each VM disk snapshot stored within your Azure cloud account is adding charges to your monthly bill, regardless whether the snapshot is being used or not. Deleting previous (older) snapshots do not affect the ability to restore the disk data from the later snapshots which allows you to keep just the necessary backup data and help lower your Azure cloud costs.
Audit
To determine if you have any obsolete (old) virtual machine disk snapshots within your Azure account, perform the following operations:
Remediation / Resolution
To delete any old and unneeded virtual machine disk snapshot from your Microsoft Azure cloud account, perform the following operations:
References
- Azure Official Documentation
- Create a snapshot using the portal or PowerShell
- Create a snapshot using the portal or Azure CLI
- Azure Command Line Interface (CLI) Documentation
- az account
- az snapshot
- az snapshot show
- az snapshot delete