如何将数据从Blob存储复制到VM? [英] How to copy data to VM from blob storage?

查看:80
本文介绍了如何将数据从Blob存储复制到VM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Azure blob存储中存在的文件复制到Azure虚拟机?

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

浏览Azure数据工厂文档后,似乎数据管理网关提供了文件系统"作为数据接收器,但我找不到任何文档/教程.

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.

我们有一个Windows应用程序,该应用程序应该访问blob存储并获取输入文件并处理这些文件.这是第三方应用程序,我们无法对此应用程序进行任何更改.

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.

由于我们无法更改此应用程序,并且无法将blob存储作为附加的虚拟硬盘附加到VM,因此我们考虑在ADF中创建复制活动",其源将是blob存储,目标将是Azure VM.将文件放入虚拟机后,我们需要通过脚本来调用应用程序.

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.

推荐答案

对于以后可能遇到相同问题的任何人,我都使用ADF中提供的复制向导"解决了我的问题.

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

在使用复制向导"之前,我们需要在VM上安装Data Management Gateway并进行注册.

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

我们需要将Blob存储指定为源,而在目标位置,我们需要选择文件服务器共享"选项.在文件服务器共享"选项中,我们需要指定用户凭据,我想管道将其用于登录到VM,即管道上将复制数据的VM上的文件夹.

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.

干杯

Shekhar

这篇关于如何将数据从Blob存储复制到VM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆