question

DannyShemesh-9266 avatar image
0 Votes"
DannyShemesh-9266 asked deherman-MSFT answered

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

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-storageazure-managed-disks
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DannyShemesh-9266
Just letting you know we are looking into this issue and will get back to you!

1 Vote 1 ·

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@DannyShemesh-9266
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.