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
posta 2 anni fa503 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 2 anni fa
  • that worked, thanks!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande