Ask HN: Workflow for Scientific Computing in the Cloud?
Manually create amazon machine image (AMI) for experiment.
Manually issue command to start AMI on specified spot instance type.
Automatically connect EBS to instance for result storage.
Automatically run specified experiment, bonus if this can be parameterized.
Automatically terminate spot instance on job completion.
Something like docker that spun up on demand spot instances of a specified type for each run and terminated said instance at run completion would be absolutely perfect. I also know HTCondor can back onto EC2 spot instances but I haven't really been able to find any concise information on how to setup a personal cloud — I also think managing an HTCondor installation may negate the savings of all the automation. Do any other HN users have similar problems? How did you solve it? What is your workflow? Thanks!
NOTE: I posted this to Slashdot as well, but reposted here as I don't think it'll get much attention there.
1 comment
[ 3.6 ms ] story [ 9.7 ms ] threadhttp://aws.amazon.com/cloudformation/
Connecting Spot instances to EBS volumes isn't really possible via their APIs though. Amazon's API seems to regard Spot Instances as stateless compute entities, you need to push the results to a real on-demand instance (with attached EBS Volume) or something like ec2.
If you have massive compute requirements, companies like
http://www.cyclecomputing.com/
will do the hard work for you, otherwise with a bit of configuration work you can spin up a master node with an ebs volume along with a set of spot instances (of any type) to perform the work.
Checkout the Cloudformation template examples. There's bound to be something that's pretty close to your use case (including software installs etc).