A bit delayed from having to rerun analyses on EC2 (still learning…) More to run today (lambda trials for Anoles – should really recode this in C!).
Trying to decide if its best to start off with the power curves and work backwards or build up from the basics. Probably doesn’t matter too much which. Also figuring out which examples to present first:
Where the painted trees are the following:
EC2 Updates
Deleted older ami. Updating the current ami with personal configurations. Current ami-c14b1b84 may become the public ami (needs a little extending still, at least libgsl0-dev), but will work from newer ami with secure info already in place to save startup time. Surprisingly, launching by commandline actually looks more cumbersome than the GUI.
ec2-run-instances <AMI-#> -t <TYPE>
ec2-describe-instances <Instance ID>
ssh -i <KEY> <Public Address>
Where types indicate the size of the instance.
(more detailed descriptions here). You need to use the output of the first line to get the instance id number, whose output includes the the public address. You’ll also need to open the ports on the (default) security group if you haven’t done so. See example in EC2 guide. Suppose a script could be wrapped around this to run and log into the instance…
What’s with the compute units? A way of comparing processor power, a faster processor may be worth multiple units. (basically is comparison to single core 2007 1Ghz xeon processor…)
Still need a solution to bring instances down when they finish (well, still need more automated cleanup/copying data out too…) so I’m not paying for extra cycles while I’m asleep and my jobs have already finished. Deepak suggested looking into Amazon’s SNS (notifications) and SQS (queues), but haven’t figured these out. Twitter works as a pretty good notification system for mobile-accessible simulation updates. Can’t use the ssh client (at least not without first ssh-ing to a local machine). Not free, but may need to try EC2 Android app. Tried accessing the web console in the mobile browser , a bit slow and cumbersome and doesn’t list my current instances… curious.