How to : Multiple core devices and subscriptions across all core devices

0

Hi,
What I am trying to achieve is having a group of multiple core devices, where the lambda functions gets executed, and these devices will have to send and receive messages across these devices.
these are my questions regarding the same,

  1. Can I have a group with only core devices?
  2. In the above mentioned case, the same lambda functions will be running on all the cores, so in this case, how to create the subscriptions as the target and source will be the lambda functions?

Please advise on the same.

Thanks.

Edited by: mockingBird on Jan 11, 2019 12:22 AM

asked 5 years ago245 views
5 Answers
0

Hi MockingBird,

  1. No. You can have a group with only a core. However, you can only have one core per group.
  2. If you launch multiple groups you would setup a subscription from Lambda -> IoT Cloud and from IoT Cloud -> Lambda for each group.

Can you tell me a bit more about your use case and what you're trying to do?

Thanks,
Keagen

AWS
KR-AWS
answered 5 years ago
0

Hi Keagen,
Thanks for your reply.
What we are trying to achieve is, we have a set of sensors, and we want to crunch the data there itself, that means we prefer to execute the lambda in each of these device, and all these devices should communicate each other to share some data for their processing, that means all these devices need to be in a group.
So could you please suggest a proper way to do the same

Thanks,

answered 5 years ago
0

Some more clarification needed

answered 5 years ago
0

Hi mockingBird,

Currently there isn't an easy way to communicate from core A to core B without going through the IoT Cloud. You can make core A a device for core B and vice versa. However, MQTT from device to core is only QoS 0. You'll need to handle missing/lost messages in your application.

Please let me know if you have any other questions.
Thanks,
Keagen

AWS
KR-AWS
answered 5 years ago
0

Thanks a lot Kaegan

answered 5 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