Creating a disk from a snapshot's exported blob SAS-uri

Danny Shemesh 21 Reputation points
2021-03-17T23:52:27.863+00:00

Hey !

Generally, disks can be created (imported) from a given source, such as a blob uri;
this is possible with the equivalent REST call of az disk create --source [--source-storage-account-id]

I was wondering if it would be possible to create a managed disk from a managed blob sas uri generated when exporting a given snapshot;
that is, the token one may get with the equivalent REST call of az snapshot grant-access.

It seems that what is suggested in most places is that one should take the generated blob URI -
and upload it to a self-managed storage account via AzCopy or other copying mechanisms.

Exporting a snapshot already gives me an (azure-managed, albeit) blob URI -
it would've been great if I could've just used that URI to instantiate a disk from directly,
without copying it over.

This is useful for very large disks (>= TB, for instance) - in that case there's a significant overhead in copying (both COGS & time-wise).

It would be neat to know if there's a way in which I could utilize the SAS uri given by exporting my snapshots, instead of copying the vhd over.

Appreciate your time !
Danny

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
595 questions
{count} votes

Accepted answer
  1. deherman-MSFT 35,241 Reputation points Microsoft Employee
    2021-03-24T19:47:27.213+00:00

    @Danny Shemesh
    Apologies for the delay following up here. I have been doing some checking and reproducing, but it seems that this is currently not possible. For product feedback and feature requests I will refer you to our feedback forum. This allows the community to add their voice and upvote popular ideas. The forums are monitored and responded to by our product teams.

    https://feedback.azure.com

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Danny Shemesh 21 Reputation points
    2022-08-09T03:41:45.043+00:00

    Hey @deherman-MSFT , long time !

    There are a couple of related issues opened in the feedback site:

    I wondered if we can ping the product team to check them out and respond on one of them ?
    enabling this flow would really ease up disk-imports, I believe.

    Thanks a ton,
    Danny

    0 comments No comments