1**To describe Spot price history** 2 3This example command returns the Spot Price history for m1.xlarge instances for a particular day in January. 4 5Command:: 6 7 aws ec2 describe-spot-price-history --instance-types m1.xlarge --start-time 2014-01-06T07:08:09 --end-time 2014-01-06T08:09:10 8 9Output:: 10 11 { 12 "SpotPriceHistory": [ 13 { 14 "Timestamp": "2014-01-06T07:10:55.000Z", 15 "ProductDescription": "SUSE Linux", 16 "InstanceType": "m1.xlarge", 17 "SpotPrice": "0.087000", 18 "AvailabilityZone": "us-west-1b" 19 }, 20 { 21 "Timestamp": "2014-01-06T07:10:55.000Z", 22 "ProductDescription": "SUSE Linux", 23 "InstanceType": "m1.xlarge", 24 "SpotPrice": "0.087000", 25 "AvailabilityZone": "us-west-1c" 26 }, 27 { 28 "Timestamp": "2014-01-06T05:42:36.000Z", 29 "ProductDescription": "SUSE Linux (Amazon VPC)", 30 "InstanceType": "m1.xlarge", 31 "SpotPrice": "0.087000", 32 "AvailabilityZone": "us-west-1a" 33 }, 34 ... 35 } 36 37 38**To describe Spot price history for Linux/UNIX Amazon VPC** 39 40This example command returns the Spot Price history for m1.xlarge, Linux/UNIX Amazon VPC instances for a particular day in January. 41 42Command:: 43 44 aws ec2 describe-spot-price-history --instance-types m1.xlarge --product-description "Linux/UNIX (Amazon VPC)" --start-time 2014-01-06T07:08:09 --end-time 2014-01-06T08:09:10 45 46Output:: 47 48 { 49 "SpotPriceHistory": [ 50 { 51 "Timestamp": "2014-01-06T04:32:53.000Z", 52 "ProductDescription": "Linux/UNIX (Amazon VPC)", 53 "InstanceType": "m1.xlarge", 54 "SpotPrice": "0.080000", 55 "AvailabilityZone": "us-west-1a" 56 }, 57 { 58 "Timestamp": "2014-01-05T11:28:26.000Z", 59 "ProductDescription": "Linux/UNIX (Amazon VPC)", 60 "InstanceType": "m1.xlarge", 61 "SpotPrice": "0.080000", 62 "AvailabilityZone": "us-west-1c" 63 } 64 ] 65 }