Skip to main content

Overview

Connect AWS IoT Core to automatically forward device telemetry data to Telemetron using IoT Rules. Telemetron provides a downloadable Terraform package that provisions all required AWS resources, including the IoT Rule, IAM roles, and HTTPS destination.

Prerequisites

  • An active AWS account with permissions to create IoT Rules, IAM roles, and rule destinations
  • Terraform v1.0+ installed locally
  • AWS CLI configured with appropriate credentials
  • Devices publishing telemetry to MQTT topics in AWS IoT Core

Setup

1

Generate Configuration

Go to Settings > Integrations > AWS IoT Core and configure the following:
  • AWS Region — Select your target region:
  • IoT Rule Name — Enter a name using only letters, numbers, and underscores (e.g., telemetron_forward_rule)
  • MQTT Topic Filters — Add one or more topic filters that match your device telemetry topics (e.g., device/+/telemetry). Click Add Filter to include additional patterns.
  • Enable CloudWatch Error Logging — Optionally toggle this on to log rule execution errors to CloudWatch for debugging.
Click Download Terraform Package (ZIP) to generate and download the configuration files.
2

Deploy with Terraform

Extract the downloaded ZIP file and deploy from your terminal:
Review the plan output and type yes to confirm the deployment. Terraform will create the IoT Rule, IAM role, and HTTPS rule destination in your AWS account.
3

Confirm Destination

After Terraform completes, you must manually confirm the HTTPS rule destination:
  1. Open the AWS IoT Rule Destinations console in your selected region
  2. Find the destination created by Terraform and click on it
  3. Click Confirm and activate
  4. AWS sends a confirmation request to the Telemetron endpoint — a confirmation token will appear in the Telemetron integration page
  5. Copy the confirmation token from Telemetron
  6. Paste the token back into the AWS console confirmation dialog and submit
The destination status should change to Enabled once confirmed.
4

Test Connection

Return to the Telemetron integration page and click Test Integration to verify that telemetry data flows correctly from AWS IoT Core to Telemetron.You can also publish a test message via the AWS CLI:

Configuration

Once connected, the integration page displays your organization’s configuration:

How It Works

When a device publishes a message to an MQTT topic that matches one of your configured filters, the AWS IoT Rule forwards the payload to Telemetron’s webhook endpoint over HTTPS. Telemetron ingests the telemetry data, associates it with the correct device, and makes it available to the AI support agent for diagnostics and troubleshooting.

Troubleshooting