cityindex/ec2-clock-accuracy-research — pull request #8 by sopel (2012-08-14 20:48:38+00:00)
Title: Scripts to launch a set of spot instances in each AWS region via CloudFormation.

These are the interactive shell script fragments used during evaluation, now converted into standalone scripts with command line arguments (including respective help, so hopefully self documenting).

There is quite some code duplication going on, which would call for refactoring parts into dedicated Python modules to be consumed by more lightweight script wrappers in turn, but given we are still in the exploration phase it seemed appropriate to defer this for the moment.

* Also, it feels a bit weird to basically duplicate respective AWS CLI tools just for the cross region support, but just adding wrappers to those would already amount to ~80% of the work, so adding the remaining ~20% and gaining vastly increased performance and some coding flexibility in turn seems to be justified.

The missing pieces for an actual demonstration/sample are one or two CloudFormation spot instance templates, either a separate one for Ubuntu/Windows, or maybe this can be combined even. Given yesterdays discoveries regarding support for cloud-init/cfn-init in the Windows AMIs meanwhile being available I hope to have something ready for tomorrows chat.