amazon ec2 - Using EC2 to run CPU-heavy tasks -


so i'm trying figure out what's involved doing following using ec2:

i've got desktop application has cpu-intensive operations. need offload these tasks cloud server run version of app handle running of task , return results.

there situations multiple instances of desktop app being run different users , several might request offloading of tasks concurrently.

my question: can desktop app establish own new ec2 instance work and, if so, there single ip address connects to start instance creation? when instance created, own ip address?

as can see question i'm misunderstanding key part of ec2 system. clarification appreciated

amazon has ec2 api can used create, modify, or delete instances. api available in many of popular programming languages desktop app should able able stat ec2 instance , offload work automatically.

http://www.programmableweb.com/api/amazon-ec2/links

each new ec2 instance has own unique public ip address can retrieved via apis mentioned above.

amazon ec2 has free usage tier allows run 1 micro instance @ time, free year. go ahead , try out, if run more 1 instance @ time, super cheap. @ least use free micro instance become farmiliar how ec2 works.

in code

  • detect need offload computation
  • use ec2 api create instance of saved virtual machine state setup
  • use api ip address of new instance
  • connect ip address of instance started , tell work do

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -