Published September 1, 2025 | Version 2025-08
Dataset Open

AWS Spot Price History

  • 1. University of Wisconsin–Madison

Description

AWS Spot Price History

This dataset tracks historical prices for AWS spot prices across all regions. It is updated automatically on the 1st of each month to contain data from the previous month.

Data format

Each month of data is stored as a ZStandard-compressed .tsv.zst file.

The data format matches that returned by AWS's describe-spot-instance-prices, with the exception that availability zones have been replaced by their global ID. For instance, here are some example lines from one capture:

euc1-az2        i4i.8xlarge     Linux/UNIX      1.231800        2023-02-28T23:59:57+00:00
euc1-az3        r5b.8xlarge     Red Hat Enterprise Linux        0.749600        2023-02-28T23:59:58+00:00
euc1-az3        r5b.8xlarge     SUSE Linux      0.744600        2023-02-28T23:59:58+00:00
euc1-az3        r5b.8xlarge     Linux/UNIX      0.619600        2023-02-28T23:59:58+00:00
euc1-az3        m5n.4xlarge     Red Hat Enterprise Linux        0.476000        2023-02-28T23:59:59+00:00
euc1-az2        m5n.4xlarge     Red Hat Enterprise Linux        0.492000        2023-02-28T23:59:59+00:00
euc1-az3        m5n.4xlarge     SUSE Linux      0.471000        2023-02-28T23:59:59+00:00
euc1-az2        m5n.4xlarge     SUSE Linux      0.487000        2023-02-28T23:59:59+00:00
euc1-az3        m5n.4xlarge     Linux/UNIX      0.346000        2023-02-28T23:59:59+00:00
euc1-az2        m5n.4xlarge     Linux/UNIX      0.362000        2023-02-28T23:59:59+00:00

When fetching spot instance pricing from AWS, results contain some prices from the previous month so that the price is known at the start of the month. These prices are adjusted in this dataset to be at the exact start of the month UTC:

euw3-az2        g4dn.4xlarge    Linux/UNIX      0.558600        2023-01-01T00:00:00+00:00

For data from 2023-01 and before, this data was fetched more than one month at a time. This should have no negative impact unless, for example, an instance type was retired before the month began (and there should therefore be no price). These older files also only contain default regions. Data from 2023-02 and later contains all regions, including opt-in regions.

Using data

You can process each month individually. If you need the entire data stream at once, you can cat all files to zst together:

cat prices/*/*.tsv.zst | zstd -d

Files

Files (3.3 GB)

Name Size Download all
md5:a3a66a5fe06979807a724fe8799c39c9
109.8 MB Download
md5:568f377074918f324be0d03f401c1b6b
511.4 MB Download
md5:06aa4e023dc893f4a5dcd87d7cf03f22
82.8 MB Download
md5:454d6e264e79991d8d589ecdb90df737
80.9 MB Download
md5:72032275103b4ac80e970397ea16847a
90.9 MB Download
md5:bda3872ee305bccdfc0fff1ef3e79557
90.1 MB Download
md5:e49d14807b9f618f0edda9ddc69ab78c
93.5 MB Download
md5:ff058dadb8a41cf2b28e85d51de1d30e
89.5 MB Download
md5:9f82ac0fc36ec6852f113cbb0f50eec6
93.2 MB Download
md5:c809438eff3ee2f9e8656b82f1afd68d
96.2 MB Download
md5:ec7b7477f9644132527e9aa729d6cc7a
97.3 MB Download
md5:598dd828a0df79e43cabf62f86a66d12
125.4 MB Download
md5:5983e7a1f3510d0358943de6f8f0b058
152.4 MB Download
md5:e0f97d23fa53402ac1ebe2503dd91caf
164.6 MB Download
md5:d763724350584924e1a2aab5d6527ba8
170.8 MB Download
md5:2a5866bc86181f56afe8e07dec7ef554
152.6 MB Download
md5:afec0f26cfcf8145ea73f489f3bcbf1a
167.9 MB Download
md5:55d955b13863e60a78a80ab24530a700
164.9 MB Download
md5:c7e29d6598f3a22e61d37fdf4a3b3f76
173.0 MB Download
md5:3025fab72d86b6bde368514c8d1ac2ec
174.7 MB Download
md5:b1ca4fb49eae076d0fe25946c648e5bb
184.1 MB Download
md5:0485510fa57641bd25c661504683e252
190.9 MB Download

Additional details