AWS IoT Core integration

AWS managed MQTT: publish, subscribe, retained messages, last will

Help Centre › Connectors

Overview

AWS IoT Core is AWS's managed MQTT broker for connecting IoT devices. The Automize AWS IoT Core connector covers MQTT publish/subscribe, retained messages, and last-will configuration.

  • Regions: Regional. Devices connect to the regional MQTT endpoint (xxx.iot.region.amazonaws.com).
  • Plans: Pay-per-message + per-connection-minute.

Setting up the connection

Auth type: HTTP Basic.

  1. Automize talks to AWS IoT Core over MQTT on port 8883, signing in with a username and password rather than AWS access keys.
  2. AWS IoT Core only accepts a username and password through a custom authorizer, so set one up in AWS IoT first.
  3. Note your account's device data endpoint, shown under AWS IoT → Settings.
  4. In Automize, open Settings → Connectors → AWS IoT Core → Add connection.
  5. Enter the device data endpoint in Endpoint, then the username and password your custom authorizer accepts.

Find your credentials at https://console.aws.amazon.com/iot/.


Rate limits

Per-account throttles on publish rate (default 100 TPS, raise via support). Connector retries Throttling.


Data model

MQTT pub-sub:

    Thing (IoT device) ─── connects to ─── MQTT topic
    Topic patterns: forward-slash hierarchy (devices/sensor1/temp)
    Retained messages: last value persists for new subscribers

Available operations

5 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
PublishGeneralPublish a message to an MQTT topic
Publish RetainedGeneralPublish a retained message to an MQTT topic
Set Last WillGeneralSet the MQTT Last Will and Testament message
SubscribeGeneralSubscribe to an MQTT topic
UnsubscribeGeneralUnsubscribe from an MQTT topic

Operations

Publish

Publish a message to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext
Headers headersNotextarea

Tips

  • topic + payload (JSON or binary). qos: 0 (fire-forget), 1 (at-least-once).
  • retain=true makes it the last-known-value for new subscribers.

Publish Retained

Publish a retained message to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext

Set Last Will

Set the MQTT Last Will and Testament message

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext

Subscribe

Subscribe to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Callback callbackNotext

Tips

  • Returns websocket-tunnelled MQTT stream. Use for long-lived listeners.

Unsubscribe

Unsubscribe from an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext

FAQ

Why is my publish silently dropped?
MQTT QoS 0 doesn't ack. If reliability matters, use QoS 1.
Device certificates vs SigV4?
Production devices use X.509 mutual TLS. This connector uses SigV4 for backend → IoT publish. Both work; certs are more device-friendly.

Related connectors

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.