Raspberry to MongoDB

0

I am new to AWS and looking to move from inhouse to cloud. I have data stream coming from raspberry pi and data need to be processed from MongoDB by the application. So in cloud I need to find a way to move the stream of data from raspberry to Mongo. I was reading through various options like Greengrass, IoT Core, Kinesis Data stream, Kinesis Firehose etc., However could not find a right material which can direct me the proper and reliable flow. Can someone with prior experience of Raspberry PI to MongoDB can provide their thoughts on the right solution? Which is better to transfer the stream of data from raspberry to DB.

velm
질문됨 3년 전360회 조회
2개 답변
0

Hi,
You have many many different options, so since you posted in the Greengrass forum I'll share a solution based on Greengrass. Greengrass has a component call Stream Manager (learn more at https://docs.aws.amazon.com/greengrass/v1/developerguide/stream-manager.html) which can be used to take in large amounts of data and upload it to the AWS cloud reliably. The documentation that I just linked is for Greengrass version 1, but Stream Manager is also available for Greengrass version 2 with the same features. You should use version 2 if you are just getting started with Greengrass.

Greengrass will run code which you write locally. Your code will then able to collect data and import it into Stream Manager. Once it is in Stream Manager you have several options, but one with quite a lot of flexibility would be to upload to Kinesis. Once your data is in the cloud in Kinesis, you can then use a AWS Lambda function to read the data from the stream and convert it as needed and write it into your Mongo database.

Hope that helps you with at least one possible solution.

Cheers,
Michael Dombrowski

AWS
전문가
답변함 3년 전
0

Thank you. I will explore this.

velm
답변함 3년 전

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

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

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

관련 콘텐츠