Connecting to AWS IoT Core - AWS IoT Core

Connecting to AWS IoT Core

AWS IoT Core supports connections with IoT devices, services, and apps. Devices connect to the AWS IoT Core so they can send data to and receive data from AWS IoT services and other devices. Apps and other services also connect to AWS IoT Core to control and manage the IoT devices and process the data from your IoT solution. This section describes how to choose the best way to connect and communicate with AWS IoT Core for each aspect of your IoT solution.


            Image showing how AWS IoT Core provides device endpoints to connect IoT devices
                to AWS IoT and service endpoints to connect apps and other services to AWS IoT
                Core.

In general, the two ways to interact with AWS IoT are through the AWS IoT Core service endpoints and the AWS IoT device endpoints.

AWS IoT Core service endpoints

The AWS IoT Core service endpoints provide access to functions that control and manage your AWS IoT solution.

  • Endpoints

    The AWS IoT Core service endpoints are Region specific and are listed in AWS IoT Core Endpoints and Quotas. The formats of the AWS IoT Core service endpoints are as follows.

    Endpoint purpose

    Endpoint format

    AWS IoT Core control

    iot.aws-region.amazonaws.com

    AWS IoT Core data

    See AWS IoT device endpoints

    AWS IoT Core jobs data

    data.jobs.iot.aws-region.amazonaws.com

    AWS IoT Core secure tunneling

    api.tunneling.iot.aws-region.amazonaws.com

  • SDKs and tools

    The AWS SDKs provide language-specific support for the AWS IoT Core APIs, and the APIs of other AWS services. The AWS Mobile SDKs provide app developers with platform-specific support for the AWS IoT Core API, and other AWS services on mobile devices.

    The AWS CLI provides command-line access to the functions provided by the AWS IoT service endpoints. AWS Tools for PowerShell provides tools to manage AWS services and resources in the PowerShell scripting environment.

  • Authentication

    The service endpoints use IAM users and AWS credentials to authenticate users.

  • Learn more

    For more information and links to SDK references, see Connecting to AWS IoT Core service endpoints.

AWS IoT device endpoints

The AWS IoT device endpoints support communication between your IoT devices and AWS IoT.

  • Endpoints

    The device endpoints are specific to your account and you can see what they are by using the describe-endpoint command.

    For each account, AWS IoT supports the device endpoints listed in the following table. For more information about the functions that these endpoints support, see AWS IoT device data and service endpoints.

    Endpoint purpose

    Endpoint format

    IoT data

    account-specific-prefix-ats.iot.aws-region.amazonaws.com

    IoT credential access

    account-specific-prefix.credentials.aws-region.amazonaws.com

    IoT job management

    account-specific-prefix.jobs.iot.aws-region.amazonaws.com

  • SDKs

    The AWS IoT Device SDKs provide language-specific support for the Message Queueing Telemetry Transport (MQTT) and WebSocket Secure (WSS) protocols, which devices use to communicate with AWS IoT. AWS Mobile SDKs also provide support for MQTT device communications, AWS IoT APIs, and the APIs of other AWS services on mobile devices.

  • Authentication

    The device endpoints use X.509 certificates or AWS IAM users with credentials to authenticate users.

  • Learn more

    For more information and links to SDK references, see AWS IoT Device SDKs.