Amazon Timestream is a fast, scalable database service that helps you store and analyze time-series data for applications like Internet of Things (IoT) and real-time monitoring. With Timestream, you can set up, operate, and scale time-series databases in the cloud with just a few clicks. Timestream offers a choice of fully managed, time-series database engines for workloads from low-latency queries to large-scale data ingestion. 

Timestream provides both serverless and instance-based configurations, supporting a variety of operational needs. Its pay-for-use and on-demand pricing model provides the maximum flexibility and cost efficiency, allowing you to choose the database engine and configuration that best suits your specific requirements. Whether scaling up for high performance or optimizing for cost reduction, Timestream's customizable approach allows you to select the best time-series database engine for your workload. You only pay for the resources you use making it an ideal solution for dynamic and efficient data management.

Amazon Timestream for InfluxDB NEW!

Amazon Timestream for InfluxDB is a managed, highly available, open-source, time-series database that makes it simple to set up, operate, and scale InfluxDB instances in the cloud. On-Demand database (DB) instances allow you to pay for compute capacity per hour your database instance runs with no long-term commitments. This frees you from the costs and complexities of planning, purchasing, and maintaining hardware. Your database instance and storage charges are based on the configurations you choose.

Pricing by database instances

Amazon Timestream for InfluxDB supports both Single-AZ and Multi-AZ deployments, optimized instance classes, and storage types that you can choose to match your workload requirements. 

  • For both Single-AZ and Multi-AZ deployments, pricing is per DB instance-hour consumed from the time a database instance is launched until it is stopped or deleted.
  • For Multi-AZ deployments, instance charges apply to both Amazon Timestream for InfluxDB primary instances and secondary replicas.
  • For partial Database instance-hours, they are billed in one-second increments with a 10-minute minimum charge after a billable status change, like creating, starting, or modifying the DB instance class.
  • Single-AZ Deployment
  • Instance Pricing

    On demand pricing for compute:

  • Multi-AZ Deployment
  • Instance Pricing

    On demand pricing for compute:

Pricing by database storage

Database storage is billed per GB per month. The amount is determined by the selected storage type and allocated storage volume for the database. Amazon Timestream for InfluxDB databases support the following storage types:

Influx I/O-included storage: This storage option is designed to meet the needs of your most I/O-intensive InfluxDB time-series workloads. There are three options to choose from: Influx I/O-included storage with 3K IOPS included (minimum size 20GiB), Influx I/O-included storage 12K IOPS (minimum size 400GiB), and Influx I/O-included storage 16K IOPS (minimum size 400GiB).

  • Single-AZ Deployment
  • Storage Pricing

    On demand pricing for storage:

  • Multi-AZ Deployment
  • Storage Pricing

    On demand pricing for storage:

Data Transfer Pricing

  • Data transferred between Amazon Timestream for InfluxDB and Amazon EC2 instances in the same Availability Zone

 Free. 

  • Data transferred between Availability Zones for replication of Multi-AZ deployments

Free.

  • Amazon Timestream for InfluxDB instances outside VPC

Data transferred between an EC2 instance and Amazon Timestream for InfluxDB instance in different Availability Zones of the same Region have no data transfer charge for traffic in or out of the Amazon Timestream for InfluxDB instance. You are only charged for the data transfer in or out of the EC2 instance and standard EC2 Regional Data Transfer charges apply ($.01 per GiB in/out).

  • Amazon Timestream for InfluxDB instances inside VPC

For data transferred between an EC2 instance and an Amazon Timestream for InfluxDB instance in different Availability Zones of the same Region, EC2 Regional Data Transfer charges apply on both sides of transfer.

Region

Amazon Timestream for LiveAnalytics

Amazon Timestream for LiveAnalytics is a serverless time-series database that automatically scales to ingest gigabytes of time-series per minute. LiveAnalytics charges based on the following operations: 

  • Writes: The amount of data written from your applications (rounded to the nearest KiB) into a table.
  • Queries: The amount of data scanned by Timestream for LiveAnalytics serverless distributed query engine while computing query results (rounded to the nearest MiB, with a 10 MiB minimum).
  • Memory store: The amount of data stored in the memory store of each table billed in GB-Hour.
  • Magnetic store: The amount of data stored in the magnetic store of each table billed in GB-Month.

Queries

Queries are charged based on the amount of time-series data scanned by Amazon Timestream’s serverless distributed query engine while computing data for queries sent from your applications or from your configured scheduled queries, with a 10 MB minimum per query.

Memory store

The memory store charges are calculated based on the amount of time-series data stored in the memory store of each Amazon Timestream table.

Magnetic store

The magnetic store charges are calculated based on the amount of time-series data stored in the magnetic store of each Amazon Timestream table.

Free Tier

As part of the AWS Free Tier, you can get started with Amazon Timestream for LiveAnalytics for free. Upon sign-up, new customers receive 50GB for data ingestion, 100GB of Magnetic tier storage,750GB-Hr of Memory tier storage, and 750GB for query usage during one-month free trial of Timestream for LiveAnalytics.

Pricing examples

Real-time infrastructure monitoring for Uninterruptible Power Supply systems using Timestream for InfluxDB

Envision a real-time infrastructure monitoring system designed for managing over 5,000 UPS (Uninterruptible Power Supply) devices. This system is geared towards analyzing vital metrics in real-time to ensure the reliability and efficiency of these devices.

Each UPS device transmit data every 10 seconds. This data encompasses 5 key fields: input/output voltages, load capacity, temperature, and battery charge level. Alongside these fields, each data packet includes four essential tags – deviceId, deviceModel, location, and manufacturer – adding layers of contextual information to the metrics.

The monitoring process is executed through a sophisticated dashboard system. These dashboards are programmed to refresh every 60 seconds and run a total of 15 queries in each cycle. This setup provides a near-real-time view of the status and performance of all connected UPS devices, allowing for timely decisions and actions.

Another important feature of this system is its automated anomaly detection capability. Tasks are set to run every 10 seconds, meticulously scanning the incoming data for any deviations from predefined thresholds. Upon detecting any anomalies, the system promptly triggers alerts, ensuring immediate attention to potential issues.

To support the demands of this extensive data processing and real-time monitoring system, a robust database infrastructure is essential. A db.Influx.2xlarge instance, equipped with 400 GiB of Influx IO Included storage and capable of handling 3,000 IOPS  would be ideal for this workload.

Single-AZ Deployment Cost (Monthly)

  • Compute Cost: $697.88
    • Based on a db.Influx.2xlarge instance.
    • Operating 24 hours for every day in a month.
    • Rate: $0.956 per hour.
    • Total Hours: 730 (1 month).
  • Storage Cost: $40.00
    • 400GiB Influx IO Included storage (3k IOPS).
    • Rate: $0.10 per GB-Month.
    • Single-AZ configuration.
  • Total Monthly Cost: $737.88
     

Multi-AZ Deployment Cost (Monthly)

  • Compute Cost: $1,396.49
    • Based on Multi-AZ db.Influx.2xlarge instance.
    • Operating 24 hours for every day in a month.
    • Rate: $1.913 per hour.
    • Total Hours: 730 (1 month).
  • Storage Cost: $80
    • 400GiB Influx IO Included storage (3K IOPS).
    • Rate: $0.20 per GB-Month.
    • Multi-AZ setup.
  • Total Monthly Cost: $1,476.49

Real-time IoT monitoring for home security systems using Timestream for InfluxDB

Consider a real-time security monitoring service designed for a network of over 80,000 IoT home automation and security customers. Every 60 seconds, the home control central unit sends a comprehensive set of data, comprising 6 tags and 15 fields, to an InfluxDB based database system. 

The data received from these central units is aggregated and analyzed at a larger scale to generate insightful trend reports and recommendations. These reports and recommendations are then provided to end users, aiding them in optimizing their home security and automation setups.

Besides the routine data, the home devices also generate a distinct category of real-time events, particularly focused on security aspects. These security events are monitored in real-time by a specialized control center. The control center is equipped with advanced dashboards that run approximately 50 queries, refreshing every 30 seconds. This setup offers a near-instantaneous overview of the security status across all connected homes.

Additionally, the system is designed to automatically scrutinize certain types of events at 5-second intervals. This feature allows for the generation of immediate automated notifications to external systems when specific conditions are met, significantly enhancing the system's responsiveness in security matters.

To accommodate this continuous data processing requirements, along with real-time security event monitoring, a robust database infrastructure is necessary. A db.Influx.8xlarge instance, outfitted with 600 GiB of Influx IO Included storage configured with 12,000 IOPS (Input/Output Operations Per Second), would be well-suited to handle this workload.

Single-AZ Deployment Cost (Monthly

  • Compute Cost: $2,792.25
    • Based on db.Influx.8xlarge instance.
    • Operating 24 hours every day for a month.
    • Rate: $3.825 per hour.
  • Total Hours: 730 (1 month).
  • Storage Cost: $210
    • 600GiB of Influx IO Included storage (12k IOPS).
    • Rate: $0.35 GB-Month
    • Single-AZ configuration.
  • Total Monthly Cost: $3,002.25


Multi-AZ Deployment Cost (Monthly)

  • Compute Cost: $5,584.50
    • Based on Multi-AZ db.Influx.8xlarge instance.
    • Operating 24 hours every day for a month.
    • Rate: $7.65 per hour.
    • Total Hours: 730 (1 month).
  • Storage Cost: $420
    • 600GiB Influx IO Included storage (12K IOPS).
    • Rate: $0.70 per GB-Montho Multi-AZ setup.
  • Total Monthly Cost: $6,004.50

E-commerce user- behavior analytics using Timestream for InfluxDB

Consider a moderately-sized e-commerce platform, with a focus on optimizing conversion rates through user behavior analysis. The website boasts a user base of 4 million registered individuals with approximately 200,000 active daily users. This activity translates into approximately 10 million events each day.

The website's telemetry system is designed to capture real-time events, each generating records that consist of 8 tags and 3 fields. User identification is achieved through a combination of user IDs (which can be either known or anonymous), device type, and UTM tags. Meanwhile, each telemetry event is characterized by three main attributes: the type of event, the time it takes to load, and the source of the event (such as ads, reviews, or searches).

This rich time-series dataset is then aggregated and analyzed to enhance various aspects of the user experience including optimizing product recommendations, rotating ads, and strategically placing banners. The system performs over 100 queries every 5 minutes, leading to diverse types of data aggregations. These aggregations are essential for the continuous updating and optimization of machine learning models.

A db.Influx.16xlarge instance configured with 800 GiB of Influx IO Included storage capable of 16,000 IOPS (Input/Output Operations Per Second) would be suitable to handle the workload.

Single-AZ Deployment Cost (Monthly)

  • Compute Cost: $5,584.50
    • Based on db.Influx.16xlarge instance.
    • Operating 24 hours for every day in a month.o Rate: $7.65 per hour.
    • Total Hours: 730 (1 month).
  • Storage Cost: $400
    • 800GiB of Influx IO Included storage (16K IOPS).
    • Rate: $0.50 per GB-Month.
    • Single-AZ configuration.
  • Total Monthly Cost: $5984.50


Multi-AZ Deployment Cost (Monthly)

  • Compute Cost: $11,169
    • Based on Multi-AZ db.Influx.16xlarge instance.
    • Operating 24 hours for every day in a month.
    • Rate: $15.30 per hour.
    • Total Hours: 730 (1 month).
  • Storage Cost: $800
    • 800GiB Influx IO Included storage (16K IOPS).
    • Rate: $1 per GB-Month.
    • Multi-AZ setup.
  • Total Monthly Cost: $11,969

Monitoring the performance and health of a video streaming application with Timestream For LiveAnalytics

Imagine a video streaming service operating on 2,000 EC2 instances. This service is focused on analyzing streaming metrics in real time to assess application performance, identify anomalies, resolve issues, and uncover optimization opportunities. Every EC2 instance continuously emits four critical metrics: video startup time, rebuffering ratio, video playback failures, and average frame rate. These metrics are captured every second, providing a granular view of the streaming quality.

To detect anomalies, the system is configured with 10 queries that run every minute, scrutinizing the previous 10 minutes of data for irregularities. Additionally, a dashboard with eight widgets has been set up to display the last six hours of data, offering a comprehensive view for effective monitoring. This dashboard is designed for concurrent access by five users and is refreshed every hour.

The Amazon Timestream for LiveAnalytics database plays a central role in this setup. It stores six hours of data in the memory store and six months' worth in the magnetic store, ensuring both immediate and long-term data availability. Moreover, the choice of multi-measure records for data storage optimizes costs without compromising on efficiency.

Monthly Cost Estimate

Data Ingestion

  • Records Ingested Per Second: 2,000.
  • Write Requests Rate: 20 per second (2,000 records / 100 batch size).


Costs Breakdown

  • Writes Cost: $183.96
    • Using multi-measure records, the size of a typical time series record is 70 bytes (each record will contain 3 dimensions of type varchar (10 bytes) and 4 measures of type double (8 bytes), 8 bytes for timestamp).
    • Number of records ingested per second: 2000 (each EC2 machine emits a records). We recommend to ingested these records in batches of 100 in a write request.
    • Calculation: 20 requests/sec * 7KiB/request * 3600 sec/hour * 730 hours/month * $0.50/million writes of 1KiB.
  • Memory Store Cost: $74.47
    • Calculation: 70 bytes/record * 2,000 records/sec * 3600 sec/hour * 730 hours/month * 6 hours * $0.036/GB-hour.
  • Magnetic Store Cost: $66.22
    • Calculation: 70 bytes/record * 2,000 records/sec * 3600 sec/hour * 730 hours/month * 6 months * $0.03/GB-month.
    • Query Cost: $48.56/month
    • Alerting Queries: $43.80
      • Calculation: 10 queries per minute * 10 MiB scanned per query * 60 minutes * 730 hours in a month * $0.01 per GiB of data scanned
    • Dashboard Queries: $2.92
      • Calculation: 8 widgets * 5 users * 730 hours in a month * 10 MiB scanned per query * 0.01 per GiB of data scanned.
    • Scheduled Queries: $1.84
      • Calculation: Assuming that the number of writes made by scheduled queries will be less than 1% of the total amount of data being written into Amazon Timestream LiveAnalytics, given the data is being aggregated/down-sampled. 1% of 367.9 GiB is 3.68 GiB. 3.68GiB * $0.50 per (1M writes or 1 GiB of writes)


Total Monthly Cost

  • Total: $373.21

Using analytics to detect fraudulent payments and make better business decisions with Timestream for LiveAnalytics

Consider a dynamic payment processing system linked to numerous point-of-sale terminals across major U.S. cities. This system is designed to capture and analyze transaction data in real time, aiming to detect fraudulent activities and provide answers to critical business queries, such as identifying the busiest and least active point-of-sale terminals, determining peak transaction hours in each city, and recognizing the city with the highest transaction rate per hour.

The system handles a substantial volume of data, processing around 5,000 transactions per second. Each transaction, stored in Amazon Timestream for LiveAnalytics, comprises 100 bytes. The analysis is powered by 10-minute queries for fraud detection and 5 additional queries for slicing and dicing the data to draw business insights, focusing on the last 30 minutes of transaction data.

A sophisticated dashboard, featuring 25 widgets, is a key element of this system. It’s refreshed every hour and simultaneously accessed by 10 users, presenting a comprehensive view of the transaction data. The data retention strategy includes a two-hour period in the memory store and a six-month period in the magnetic store. This system also utilizes multi-measure records for efficient data storage, and batches the data in groups of 100, with about 35% data repetition in each batch. To enhance query efficiency, only about 2% of the data accumulated over the past hour is scanned.

Monthly cost estimate (with single-measure records): 

Data Ingestion

  • Records Ingested Per Second: 5,000
  • Write Requests Rate: 50 per second (5,000 records/100 batch size)


Costs Breakdown

  • Writes Cost: $657.00
    • Number of records ingested per second: 5,000. We recommend to ingested these records in batches of 100 in a write request.
    • Calculation: 50 requests/sec * 10KiB/request * 3600 sec/hour * 730 hours/month * $0.50/million writes of 1KiB.
  • Memory Store Cost: $94.61
    • Calculation: 100 bytes/record * 5,000 records/sec * 3600 sec/hour * 730 hours/month * 2 hours * $0.036/GB-hour.
  • Magnetic Store Cost: $236.52
    • Calculation: 100 bytes/record * 5,000 records/sec * 3600 sec/hour * 730 hours/month * 6 months * $0.03/GB-month.
  • Query Cost: $69.84/month
    • Alerting Queries: $43.80
      • Calculation: 10 queries per minute * 10 MiB scanned per query * 60 minutes * 730 hours in a month * $0.01 per GiB of data scanned.
    • Dashboard Queries: $18.25
      • Calculation: 25 widgets * 10 users * 730 hours in a month * 10 MiB scanned per query * 0.01 per GiB of data scanned.
    • Scheduled Queries: $7.79
      • Schedule Queries - Query cost: $1.22
        • Calculation: This is calculated as 10 queries per hour (5 queries aggregating every 30 mins to populate the dashboard) * 16.7 MiB per query * 730 hours * $0.01 per GiB of data scanned. Amazon Timestream LiveAnalytics’s query engine will process approximately 2% of the data accumulated over a 2-hour period (0.2% * 100 bytes per record * 5000 records per second * 60 minutes * 2 hours/ 1MiB) or 10 MiB whichever is higher.
      • Schedule Queries – Write cost: $6.57
        • Calculation: Assuming that the number of writes made by scheduled queries will be less than 1% of the total amount of data being written into Amazon Timestream, given the data is being aggregated/down-sampled. 1% of 1314.0GiB is 13.14GiB. 13.14GiB * $0.50 per (1M writes or 1 GiB of writes)

Total Monthly Cost

  • Total: $1,057.96

Additional pricing resources

AWS Pricing Calculator

Easily calculate your monthly costs with AWS

Get pricing assistance

Contact AWS specialists to get a personalized quote