Endpoint for IOT services?

0

How does an AWS IOT device know what endpoint to hit in order to access the IOT instance associated with my AWS account?

Do all devices just hit the same endpoint, and IOT figures it out based on their certificate? Or do I need to program my device with an endpoint, or some other information to tell it to communicate with my account?

Thanks.

Frank
asked 2 years ago474 views
1 Answer
0
Accepted Answer

The endpoints are based on the account you're using and the region you're connecting to. It is up to you to determine which endpoints your device will reach out to. Here's an example on how the API/SDK uses endpoint and port

To determine the endpoint for a region use the following command documented here. Best way to see it in action would be to create a thing in AWS IoT Core and download the starter kit. You can do that through the AWS IoT Core Console Page > Connect > Getting Started > Onboard a device

aws iot describe-endpoint --endpoint-type iot:Data-ATS

AWS
answered 2 years ago
  • that worked, thanks!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions