I have created 2 VMs and couple of disks.
Some of these disks are shared disks (part of wsfc cluster), and some disks are non-shared.
I want to add all the VMs and disks into a proximity placement group.
How to create a proximity placement group after VM and disks have been created?
An
Proximity Placement Groupis primarily used to logically groupAzure compute resourcesthat are physically located in close proximity within the data center. This grouping aims to reduce latency and improve application performance. Here is the MS Doc aboutProximity Placement Groups.For adding multiple
VMstoProximity Placement Groupsat once, you can usePowerShell.Here is a
PowerShellscript to add existingVMstoProximity Placement GroupsResult:
All
VMsin the resource group have been added to theProximity Placement GroupReference: Add existing VM to placement group