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?

已提問 2 年前檢視次數 247 次
1 個回答
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
專家
Greg_B
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南