-
Notifications
You must be signed in to change notification settings - Fork 1
Retrieve spot instance price histories
Michael A. Cianfrocco edited this page Apr 10, 2015
·
5 revisions
In order to retrieve quickly EC2 instance spot instance history over a given time period, we used a custom python program to return spot instance prices for all regions, all availability zones:
$ ./get_spot_histories_all_regions_all_zones.py
Usage: get_spot_histories_all_regions_all_zones.py -i [instance type] --days=[days]
Options:
-h, --help show this help message and exit
-i STRING Amazon instance type (e.g. r3.8xlarge, t2.micro, etc.)
--days=INT Timeframe over which to retrieve spot instance price history.
Maximum is 90 days.
-d debug
This program assumes the following environmental variables have been set:
export AWS_ACCESS_KEY=[access key] export AWS_SECRET_KEY=[secret key] export AWS_USER_ID=[user id]
Which are environmental variables required for Amazon command line tools.
Table of contents:
[Home] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki)
Spot instances:
- [Retrieve spot instance price histories] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-EMCloudProcessing/wiki/Retrieve-spot-instance-price-histories)
- [Calculate percentage time] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-EMCloudProcessing/wiki/Calculate-percentage-time-spot-instance-prices-spend-below-given-price)
Cryo-EM:
- [Download micrographs and data] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki/Download-micrographs-and-data)
- [Extract particles] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki/Extract-particles)
- [Perform 3D classification] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki/Perform-3D-classification)
- [Refine single model to high resolution] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki/Refine-single-model-to-high-resolution)
- [Calculate gold standard FSC & filter map] (https://github.com/mcianfrocco/Cianfrocco-and-Leschziner-2014-EMCloudProcessing/wiki/Calculate-gold-standard-FSC-&-filter-model)