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
preguntada hace 2 años502 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 2 años
  • that worked, thanks!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas