unable to Sub scribing with Mqtt data in AWS IoT core with greengrass deployment

0

Currently I am unable to publish data with custom own Mqtt broker to aws iot core. Whereas I am able to publish data to open MQTT server i.e broker.emqx.io. Is there any configuration need to be provide like, certification of AWS? Or access id and secrete key is enough?

gefragt vor 2 Jahren258 Aufrufe
1 Antwort
1

Hi. To publish or to subscribe to IoT Core from a Greengrass component, the recommended way is to use the messaging IPC service: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html

It is possible to use an MQTT client directly from within a component to connect to IoT Core. The client would have to meet one of the IoT Core client authentication methods. Most commonly, an X.509 certificate. IPC is preferred though and takes advantage of the Greengrass core device's existing identity.

profile pictureAWS
EXPERTE
Greg_B
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen