AWS IoT Core Can Now Route IoT Data Straight to InfluxDB!
Hey everyone, it's Shii-chan! I checked out a new AWS IoT Core feature today, let's dive in!
AWS What's NewWhat was announced?
This comes from AWS What's New. AWS IoT Core added a new InfluxDB rule action that routes time-series data from your IoT devices directly into InfluxDB databases. AWS IoT Core is a fully managed service that securely connects billions of IoT devices to the AWS cloud and routes device data to AWS and third-party services.
The story so far
Until now, if you wanted to send IoT device data to InfluxDB, you had to write custom device-side code or add an intermediate cloud service in between. That was extra work.
What changes
The new InfluxDB rule action automatically converts incoming time-series data to InfluxDB's line protocol format and writes it to either a managed Amazon Timestream for InfluxDB cluster or a self-hosted InfluxDB cluster. You no longer need to build custom code or a relay service yourself.
For example, a life sciences company could batch thousands of millisecond-granularity telemetry readings from scientific instruments and write them straight to InfluxDB for monitoring, without building a custom data pipeline.
Dive Deep
Two batching modes are available so you can balance cost and throughput:
- Device-side batching: your devices send pre-batched payloads to AWS IoT Core
- Server-side batching: the IoT rules engine aggregates individual messages before writing to InfluxDB
The InfluxDB rule action is available in every AWS Global Region where Amazon Timestream for InfluxDB is available. To get started, connect your IoT devices to AWS IoT Core and define an InfluxDB rule action that specifies the destination database, authentication, and batching parameters. See the AWS IoT Core developer guide for more details.
Wrap-up
- AWS IoT Core now has an InfluxDB rule action that routes IoT data directly into InfluxDB
- Works with both managed Amazon Timestream for InfluxDB clusters and self-hosted InfluxDB clusters
- Device-side and server-side batching modes let you tune cost versus throughput
- Available in every AWS Global Region where Timestream for InfluxDB is available
A great update if you want to visualize and monitor IoT data in InfluxDB without building your own data pipeline!