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.
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:
- Open the AWS IoT Rule Destinations console in your selected region
- Find the destination created by Terraform and click on it
- Click Confirm and activate
- AWS sends a confirmation request to the Telemetron endpoint — a confirmation token will appear in the Telemetron integration page
- Copy the confirmation token from Telemetron
- Paste the token back into the AWS console confirmation dialog and submit
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: