Skip to content

Timestream migration from LiveAnalytics to Influx?

0

I recently got a very terse announcement that AWS seems to be doing away with its 'native aws' timestream service.

I use it in an existing service. We have multiple stages to our existing service in multiple accounts. Does it mean that I will not be able to add new stages after Jun 20 since that will mean a new account will need to create a new DB and tables in order for me to add a new stage?

If so, does that mean I really should migrate my existing service to try to use Timestream InfluxDB? Is there any way to try to estimate the cost and sizing of this based upon our current usage of Timestream Live Analytics? Is there a migration guide for conversion? We basically use a python lambda ingesting from IoT -> Kinesis to write. And then we use nodejs lambdas in our service API to do queries into the various tables.

I'm hoping that there might be some sort of migration guide that may help me to size this effort.

Thanks!

asked a year ago1.3K views

2 Answers
2
Accepted Answer
    Based on the announcement, Amazon Timestream for LiveAnalytics will no longer be open to new customers after June 20, 2025. However, existing customers can continue using the service. This means your existing deployments across accounts should continue to function, but if you need to create new Timestream for LiveAnalytics resources in completely new AWS accounts after that date, you won't be able to do so.

    Given this limitation, it would be prudent to consider migrating to Timestream for InfluxDB, especially if you anticipate needing to deploy to new accounts in the future.

    For migration planning, AWS provides a migration guide that outlines the process from Timestream for LiveAnalytics to Timestream for InfluxDB. The migration workflow consists of four main stages:

    1. Unload data using Timestream for LiveAnalytics export tool to Amazon S3
    2. Transform the data from Timestream format to InfluxDB line protocol format using Amazon Athena
    3. Ingest the transformed data into your Timestream for InfluxDB instance
    4. Validate that all data points have been properly ingested

    When considering whether Timestream for InfluxDB is appropriate for your use case, a key factor is cardinality. AWS recommends Timestream for InfluxDB if your Timestream for LiveAnalytics table has less than 10 million cardinality (unique combinations of dimensions). If your cardinality exceeds this threshold, you might need to consider other options or find ways to reduce your cardinality.

    For your specific implementation using Python Lambda for ingestion from IoT through Kinesis and Node.js Lambdas for queries, you'll need to:
    - Reconfigure your data collection agents to target the InfluxDB endpoint
    - Update your Node.js query code to use InfluxQL (an SQL-like query language) or Flux instead of the Timestream query language

    Regarding cost estimation, you would need to analyze your current usage patterns (data ingestion rates, storage requirements, and query patterns) and compare them with Timestream for InfluxDB's pricing model, which is based on DB instance hours, storage, and data transfer.

    The migration should be relatively straightforward if your use case fits within the recommended parameters, especially if your cardinality is under 10 million. Timestream for InfluxDB provides similar time-series functionality including analytics functions and scheduled queries (called "tasks" in InfluxDB).
  

Sources
Migration Guide - Amazon Timestream
Amazon Timestream FAQs – Time-Series Database – AWS
Amazon Timestream for LiveAnalytics availability change - Amazon Timestream
Ingesting data from Amazon S3 to Timestream for InfluxDB automation - Amazon Timestream

answered a year ago

EXPERT

reviewed a year ago

  • Existing customer with same payer ID can continue to use in their existing accounts or new accounts.

0

After some of my own research, the winding down of Timestream for Live Analytics is indeed very problematic. Our service has lots of IoT clients that deposit relatively low-traffic into 10s of timestream tables. The queries into these tables are very simple - done by a series of defined lamba-backed APIs. Migrating this per recommendation to InfluxDB dramatically increases costs since it is basically a managed EC2 service.

For anyone that may be faced with the same dilemma - you may want to consider migrating to DDB or S3/Athena. The downside being that these are not natively time-based. I'm not sure if I will be able to have useful performant queries in either of these options.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.