Quick start - Amazon IoT Core
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Quick start

Complete these steps to send your first command:

  1. Prerequisites - Ensure you are onboarded to IoT Core, a device connected to IoT Core, IAM permissions for Commands API operations, and an MQTT client library installed on your device.

  2. Create a command - Define a command with a static payload, or a payload template specifying device actions. See Create a command resource.

  3. Identify your device - Register your device as an IoT thing or note its MQTT client ID. See Target device considerations.

  4. Configure permissions - Set up IAM policies allowing your device to receive commands and publish responses.

  5. Subscribe to topics - Configure your device to subscribe to commands request and response topics. See Choose target device for your commands and subscribe to MQTT topics.

  6. Execute the command - Start the command execution on your target device. See Start a command execution.

Common use cases:

  • Remote diagnostics - Retrieve logs, run diagnostics, check device health

  • Configuration updates - Change settings, update parameters, toggle features

  • Device control - Lock/unlock, power on/off, mode changes