Created
August 1, 2015 09:13
-
-
Save l4u/4babc68a6c875b78bafc to your computer and use it in GitHub Desktop.
spot instance pricing history ec2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 describe-spot-price-history --instance-types g2.8xlarge --region us-east-1 --product-descriptions 'Linux/UNIX (Amazon VPC)' --start-time $(date +"%Y-%m-%dT%H:%M:%SZ") | jq '.SpotPriceHistory[] | {price: .SpotPrice, zone: .AvailabilityZone}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment