Posts

Showing posts from May, 2012

Passing messages in the cloud

In this tutorial, I will show how to run Ray (v2.0.0-rc7) on 4 Amazon EC2 small instances (m1.small). Tests with micro instances showed that it does not work for high performance computing. The virtual core of a micro instance works at 5% sometimes, and it does not work at all most of the time. That is why it is free ! For a list of instance types, see this page. Each small instance will provide 1 virtual core with 1 Elastic Cloud Unit and 1.7 GB memory. We will run Ray on 4 instances with message passing in the cloud. A small instance cost 0.080 $ per hour (on-demand pricing). So this tutorial should cost me 0.32 $ for the small instances and maybe some more for the Elastic Block Storage although I think this is free at some point. You can also pay upfront for a term of 1 year or 3 years to have a  lower pricing . Tasks to do on the Amazon Web Services Console First, I spawned 4 m1.small instances in the same zone with Ubuntu 12.04 64 bits. When creating your instances,