How to connect properly AWS IoT Core to DocumentDB
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 !
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.
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.
Thanks for your response, you have fully understood my question.
How Amplify PubSub granted access to AWS IoT Core?Accepted Answerasked 2 months ago
Unable to connect to AWS IoT Core on Greengrass installasked 5 months ago
How to connect to IoT Core by IAM (access key id / pwd)asked 5 months ago
AWS IoT Core Rule Action to Timestream DBasked 2 years ago
How to connect an IoT Thing to Greengrass V2asked a year ago
How to implement authentication in AWs IoT Greengrass Component deployed to the Greengrass Core Device?asked 2 months ago
How to connect properly AWS IoT Core to DocumentDBAccepted Answerasked 14 days ago
How to receive IoT device simulator's data to AWS IoT core.Accepted Answerasked 12 days ago
com.aws.greengrass.mqttclient.AwsIotMqttClient: Unable to connect to AWS IoT CoreAccepted Answerasked 6 months ago
When should I use IoT Core?asked 5 months ago