Identify any empty virtual machine scale sets available within your Microsoft Azure cloud account and delete them in order to eliminate unnecessary costs and meet compliance requirements when it comes to unused resources. A Microsoft Azure virtual machine scale set is considered empty when it doesn't have any VM instances attached anymore and is no longer associated with a load balancer.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
optimisation
In order to adhere to Azure cloud best practices and achieve regulatory compliance, every empty virtual machine scale set should be removed for cost optimization and better management of your cloud resources.
Audit
To identify empty Microsoft Azure virtual machine scale sets, perform the following operations:
Remediation / Resolution
To remove empty Microsoft Azure virtual machine scale sets from your Azure cloud account, perform the following operations:
References
- Azure Official Documentation
- Virtual Machine Scale Sets
- What are virtual machine scale sets?
- Azure Command Line Interface (CLI) Documentation
- az account list
- az vmss list
- az vmss list-instances
- az vmss show
- az vmss delete
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Check for Empty Virtual Machine Scale Sets
Risk Level: Low