Posts

Creating Snapshot with Disk Access and Exporting to Azure Blob Storage

Image
 1. Context: 1. The disk is in place for which the snapshot is to be taken. 2. The subnet for the snapshot and the storage account's private endpoint is already in place.      3. Since we are attaching the Disk Access resource (Private Endpoint) to the snapshot, it prevents the import and export of the disk to other virtual networks. Therefore, to import or export a snapshot to a storage account, both the snapshot and the storage account must have a private endpoint and be within the same virtual network. 4. The VM running the PowerShell script is in the same virtual network as the snapshot and the storage account. This ensures that the storage account can resolve to the private IP address. 5. The Az modules are installed on the PowerShell. 2. Considerations: 1. If you plan to export your snapshot to an Azure Blob Storage account, the snapshot type must be Full and not Incremental. This is because Incremental snapshots in Azure contain only the changes made since the last snapshot,