简体   繁体   中英

Amazon C# application using ec2, S3

I want to implement the following : On a Amazon S3, I have a large file containing information. 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. In order to replicate the same setup and processing application on all machines, I'm thinking of using Amazon Machine Images. After each machine does the required processing, I want to post the result to another 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.

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).

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 .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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