简体   繁体   English

使用ec2,S3的Amazon C#应用程序

[英]Amazon C# application using ec2, S3

I want to implement the following : On a Amazon S3, I have a large file containing information. 我要实现以下目标:在Amazon S3上,我有一个包含信息的大文件。 The processing required on it takes a lot of time(multiple days), using one machine. 使用一台机器,所需的处理会花费很多时间(几天)。 The requirement is to have an application that 要求是有一个应用程序

dynamically registers Amazon EC2s(around 50) and splits the processing among them. 动态注册Amazon EC2(约50个)并在其中拆分处理。 In order to replicate the same setup and processing application on all machines, I'm thinking of using Amazon Machine Images. 为了在所有机器上复制相同的设置和处理应用程序,我正在考虑使用Amazon Machine Images。 After each machine does the required processing, I want to post the result to another Amazon S3. 每台机器执行所需的处理后,我想将结果发布到另一个Amazon S3。

I've tried to do my homework and research all required aspects, but I have a few aspects that are not 100% clear to me. 我尝试做作业并研究所有必需的方面,但是我有些方面对我而言不是100%清楚的。

Questions : 1. How can I setup an Amazon EC2s by using an image(Amazon Machine Image) (with C# code) 2. How can I pass parameters to an application running on a particular machine?( in order to segregate the processing between machines). 问题:1.如何通过使用映像(带有C#代码的映像)来设置Amazon EC2。2.如何将参数传递给在特定计算机上运行的应用程序?(以便在计算机之间隔离处理)。

Any other advices, corrections are very appreciated. 任何其他建议,更正非常感谢。

Thank you. 谢谢。

If you want to start a machine using EC2 and C# you can follow this sample . 如果要使用EC2和C#启动计算机,可以遵循此示例

I suggest you to run them in the same subnet so you can choose the best interprocess communication technology you want (Pipes, REST, WCF) and pass parameters to your applications running on an EC2 instance. 我建议您在同一子网中运行它们,以便选择所需的最佳进程间通信技术(Pipes,REST,WCF)并将参数传递给在EC2实例上运行的应用程序。

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

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