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!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인