简体   繁体   English

具有共享S3存储的Amazon EC2 Windows AMI

[英]Amazon EC2 Windows AMI with shared S3 storage

I've currently got a base Windows 2008 Server AMI that I created on Amazon EC2. 我目前拥有在Amazon EC2上创建的基本Windows 2008 Server AMI。 I use it to create 20-30 EBS-based EC2 instances at a time for processing large amounts of data into PDFs for a client. 我使用它一次创建20-30个基于EBS的EC2实例,以将大量数据处理为客户端的PDF。 However, once the data processing is complete, I have to manually connect to each machine and copy off the files. 但是,一旦数据处理完成,我就必须手动连接到每台计算机并复制文件。 This takes a lot of time and effort, and so I'm trying to figure out the best way to use S3 as a centralised storage for the outputted PDF files. 这需要花费大量时间和精力,因此我试图找出使用S3作为输出的PDF文件的集中存储的最佳方法。

I've seen a number of third party (commercial) utilities that can map S3 buckets to drives within Windows, but is there a better, more sensible way to achieve what I want? 我已经看到了许多第三方(商业)实用程序,它们可以将S3存储桶映射到Windows中的驱动器,但是有没有更好,更明智的方法来实现我想要的? Having not used S3 before, only EC2, I'm not sure of what options are available, and I've not been able to find anything online addressing the issue of using S3 as centralised storage for multiple EC2 Windows instances. 以前没有使用过S3,只有EC2,我不确定有哪些可用选项,也无法在线找到任何东西来解决将S3用作多个EC2 Windows实例的集中存储的问题。

Update : Thanks for suggestions of command line tools for using S3. 更新 :感谢您提供有关使用S3的命令行工具的建议。 Was hoping for something a little more integrated and less ad-hoc. 希望有一些集成度更高,临时性更强的东西。 Seeing as EC2 is closely related to S3 (S3 used to be the default storage mechanism for AMIs, etc), that there might be something neater/easier I could do. 看到EC2与S3紧密相关(S3曾经是AMI的默认存储机制,等等),我可能会做得更整洁/更轻松。 Perhaps even around Private Cloud Networks and EC2 backed S3 servers, etc, or something (an area I know nothing about). 甚至在私有云网络和EC2支持的S3服务器等周围,也可能有什么(我什么都不知道的地方)。 No other ideas? 没有其他想法吗?

I'd probably look for a command line tool. 我可能会寻找命令行工具。 A quick search on Google lead me to a .Net tool: 在Google上进行的快速搜索使我找到了.Net工具:

http://s3.codeplex.com/ http://s3.codeplex.com/

And a Java one: 还有一个Java:

http://www.beaconhill.com/opensource/s3cp.html http://www.beaconhill.com/opensource/s3cp.html

I'm sure there are others out there as well. 我敢肯定还有其他人。

您可以将EC2实例与通过samba导出的EBS一起使用,它可以充当Windows实例可以映射的集中存储?

this sounds very much like a hadoop/Amazon MapReduce job to me. 在我看来,这听起来像是Hadoop / Amazon MapReduce工作。 Unfortunately, hadoop is best deployed on Linux: 不幸的是,hadoop最好部署在Linux上:

Hadoop on windows server Windows Server上的Hadoop

I assume the software you use for pdf-processing is Windows only? 我假设您用于pdf处理的软件仅Windows? If this is not the case, I'd seriously consider porting your solution to Linux. 如果不是这种情况,我会认真考虑将您的解决方案移植到Linux。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM