How to copy data to VM from blob storage?

2019-07-29 10:45发布

问题:

Is it possible to copy file(s) which are present in Azure blob storage to Azure virtual machine?

After exploring Azure Data Factory documentation, it seems like Data management Gateway provide 'File System' as a sink for data but I am not able to find any documentation/tutorial for it.

Can anyone please tell if it is possible? If yes, how it can be done?


Adding more details about the original task.

We have one Windows Application which is supposed to access blob storage and fetch the input files and process those files. It is a third party application we won't be able to make any changes to this application.

Since we cannot change this application and blob storage cannot be attached to VM as an additional virtual hard disk, we thought of creating 'copy activity' in ADF for which source will be blob storage and destination will be Azure VM. Once files are placed in the VM, we need to invoke the application through script.

回答1:

To anyone who might get into same problem in future, I solved my problem by using 'copy wizard' present in ADF.

We need to install Data Management Gateway on VM and register it before we use 'copy wizard'.

We need to specify blob storage as source and in destination we need to choose 'File Server Share' option. In 'File Server Share' option we need to specify user credentials which I suppose pipeline uses to login to VM, folder on VM where pipeline will copy the data.

Cheers,

Shekhar