How to copy data to VM from blob storage?

安稳与你 提交于 2019-12-11 04:19:25

问题


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



来源:https://stackoverflow.com/questions/40250220/how-to-copy-data-to-vm-from-blob-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!