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
已提问 2 年前503 查看次数
1 回答
0
已接受的回答

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
已回答 2 年前
  • that worked, thanks!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则