Amazon Timestream is a fast, scalable, and serverless time series database service that collects, stores, and queries time-series data for IoT and operational applications. With Amazon Timestream, you pay only for what you use. You are billed separately for writes, data stored, and data scanned by queries. Amazon Timestream automatically scales your writes, storage, and query capacity based on usage. You can set the data retention policy for each table and choose to store data in an in-memory store or magnetic store.

Estimate your monthly bill using the Amazon Timestream Pricing Calculator.

Pricing details

Writes

Timestream charges based on the number of writes. The write size of each time series event is calculated as the sum of the size of the timestamp, dimension names, dimension values, measure names, and measure values. The size of the timestamp is 8 bytes. The size of dimension names, dimension values, and measure names are the length of the UTF-8 encoded bytes of each string representing the dimension name, dimension value, and measure name. The size of the measure value depends on the data type. It is 1 byte for boolean data types, 8 bytes for bigint and double, and the length of the UTF-8 encoded bytes for strings. You can batch time series events and use common attributes (see Metering and Cost optimization) to optimize the cost of writes. Each write is counted in units of 1KB.

Memory Store

The memory store processes incoming time series data and it is optimized for rapid point-in-time queries. Memory store capacity consumed by your tables is billed for every GB-hour used. The storage size of each time series event is calculated as the sum of the size of the timestamp, dimension names, dimension values, measure names, and measure values. The size of the timestamp is 8 bytes. The size of dimension names, dimension values, and measure names are the length of the UTF-8 encoded bytes of each string representing the dimension name, dimension value, and measure name. The size of the measure value depends on the data type. It is 1 byte for boolean data types, 8 bytes for bigint and double, and the length of the UTF-8 encoded bytes for strings. Each measure is stored as a separate record in Amazon Timestream, i.e. if your time series event has four measures, there will be four records for that time series event in storage.

SSD Store (Coming soon)

SSD store capacity consumed by your tables is billed for every GB-hour used.

This pricing is applicable for US East (Northern Virginia) Region, US East (Ohio) Region, and US West (Oregon) Region. The pricing in Europe (Ireland) Region will be 13.1% more than the price below.

Metric Price
Price per GB stored per day $0.01

Magnetic Store

The magnetic store is optimized for fast analytical queries. Magnetic store capacity consumed by your tables is billed for every GB-month used. The storage size of each time series event is calculated as the sum of the size of the timestamp, dimension names, dimension values, measure names, and measure values. The size of the timestamp is 8 bytes. The size of dimension names, dimension values, and measure names are the length of the UTF-8 encoded bytes of each string representing the dimension name, dimension value, and measure name. The size of the measure value depends on the data type. It is 1 byte for boolean data types, 8 bytes for bigint and double, and the length of the UTF-8 encoded bytes for strings. Each measure is stored as a separate record in Amazon Timestream, i.e. if your time series event has four measures, there will be four records for that time series event in storage.

Query

You are charged for the number of bytes scanned by Amazon Timestream, rounded up to the nearest megabyte, with a 10MB minimum per query. There are no charges for metadata queries such as SHOW TABLE, SHOW MEASURES, DESCRIBE TABLE, LIST TABLES, etc. Cancelled queries are charged based on the amount of data scanned. See Metering and Cost optimization for more information.

Data Transfer

Data transfer "in" and "out" refer to transfer into and out of Amazon Timestream. There is no additional charge for data transferred between Amazon Timestream and other AWS services within the same AWS Region (in other words, $0.00 per GB). Data transferred across AWS Regions, such as between Timestream in the US East (N. Virginia) Region and Amazon EC2 in the EU (Ireland) Region is charged on both sides of the transfer.

Data Transferred Price
Data Transfer IN  
All data transfer in $0.00 per GB
Data Transfer OUT  
Up to 1 GB / Month $0.00 per GB
Next 9.999 TB / Month $0.09 per GB
Next 40 TB / Month $0.085 per GB
Next 100 TB / Month $0.07 per GB
Greater than 150 TB / Month $0.05 per GB

Pricing example

Monitoring EC2 metrics

Consider an application running on 200 EC2 instances with each instance emitting 10 metrics at 1-minute intervals. You want to use Amazon Timestream to store and analyze this data to better understand the performance and availability of your application. You plan to run 100 queries per hour to identify and alert on anomalous activities and 50 queries per day for ad-hoc analysis. The alerting queries check for anomalous activities for data sent over the past 5 minutes and the ad-hoc queries analyze the most recent 24 hours-worth of data. You also want to store data 6 hours’-worth of data in the memory store and 12 months’-worth of data in the magnetic store.

The monthly cost of running this workload on Amazon Timestream is as follows:

Assumptions

  • Each metric when represented as an Amazon Timestream record consisting of dimensions and a measure is approximately 0.2 KB.
  • 10 metrics are batched to produce a 2 KB payload for writes which is 2 writes of 1 KB each in Amazon Timestream.
  • The ad-hoc analysis queries process ~5% of the time series data accumulated over the past 24 hours. We assume that on an average ~95% of the data is pruned by Amazon Timestream’s query engine when evaluating query predicates (WHERE clause).

Monthly cost calculation

  • Writes cost: $ 8.64 per month. This is computed as: ( 2 writes * 200 EC2 instances * 60 minutes * 24 hours * 30 days) * $0.50/ 1 MM writes.
  • Memory store cost: $ 3.56 per month. This is computed as: ( 2 KB per minute per instance * 200 instances * 60 minutes * 6 hours * 24 hours * 30 days) * $0.036 / GB-hour.
  • Magnetic store cost: $ 5.93 per month. This is computed as: (2 KB per minute per instance * 200 instances * 60 minutes * 24 hours * 30 days * 12 months) * $0.03 /GB-month.
  • Query cost (alerting queries): $ 7.03 per month. This is computed as (10 MB per alerting query * 100 queries per hour * 24 hours * 30 days * $0.01 / GB). Alerting queries process 5 minutes of data. 5 minutes of data is 1 MB (2 KB per minute per instance * 100 instances * 5), which gets rounded up to 10 MB minimum charge for queries.
  • Query cost (ad-hoc queries): $ 0.41 per month. This is computed as (28.1 MB per ad-hoc query * 50 queries per day * 30 days * $0.01 / GB). Ad-hoc queries consider 24 hours-worth of data and Amazon Timestream’s query engine will prune 95% of the data. 5% of the data is 28.1 MB (2 KB per minute per instance * 200 instances * 60 minutes * 24 hours * 5%)
  • Total cost: $25.57 per month ($ 8.64 + $ 3.56 + $ 5.93 + $ 7.03 + $ 0.41).

Additional pricing resources

AWS Pricing Calculator

Easily calculate your monthly costs with AWS

Economics Resource Center

Additional resources for switching to AWS