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?

asked 2 years ago258 views
1 Answer
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
EXPERT
Greg_B
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions