How to connect properly AWS IoT Core to DocumentDB

0

Hi, I would like to connect my documentDB to an AWS IoT Core properly (do something similar to IoT Core -> Dynamo Db with a rule). I need it to be highly scalable to handle millions of devices. Has someone done that before? What are the best practices?

Thanks in advance !

2개 답변
1
수락된 답변

Hi. In general, if AWS IoT Rules Engine doesn't have an action to route data to a particular service, Lambda would be a way to achieve it.

AWS IoT Core -> Rule -> Lambda -> DocumentDB

If you had a high rate of messages coming through, you could consider to insert something like SQS or KDS between the Rule and the Lambda, so the Lambda does batch processing of messages. This would help lower costs.

These would be amongst the simplest patterns to achieve what you want.

profile pictureAWS
전문가
Greg_B
답변함 2년 전
0

Hi there

From the note, I understand you want to connect my documentDB to an AWS IoT Core properly and you need it to be highly scalable to handle millions of devices. Please correct me if my understand is wrong.

Please note you would have to configure the IoT devices with a MongoDB client and use the SDK to insert data to DocumentDB but this is an out of scope solution for Support and would require your developers to build it.

I hope the above information is helpful.

References: 1.https://docs.aws.amazon.com/documentdb/latest/developerguide/documentdb-development.html 2.https://docs.aws.amazon.com/iot/latest/developerguide/iot-ddb-rule.html

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인