简体   繁体   English

使用 Kinesis Firehose 将数据写入 S3 的替代方法

[英]Alternative to writing data to S3 using Kinesis Firehose

I am trying to write some IOT data to the S3 bucket and so I know 2 options so far.我正在尝试将一些 IOT 数据写入 S3 存储桶,所以到目前为止我知道 2 个选项。

1) Use AWS CLI and put data directly to the S3. 1) 使用 AWS CLI 并将数据直接放入 S3。

The downside of this approach is that I would have to parse out the data and figure out how to write it to S3.这种方法的缺点是我必须解析数据并弄清楚如何将其写入 S3。 So there would be some dev required here.所以这里需要一些开发人员。 The upside is that there isn't additional cost associated to this.好处是没有与此相关的额外费用。

2) Use Kinesis firehose 2) 使用 Kinesis 消防软管

The downside of this approach is that it costs more money.这种方法的缺点是成本更高。 It might be wasteful because the data doesn't have to be transferred in the real time, and it's not a huge amount of data.这可能会很浪费,因为数据不必实时传输,而且数据量不是很大。 The upside is that I don't have to write any code for this data to be written in the S3 bucket.好处是我不必为要写入 S3 存储桶的数据编写任何代码。

Is there another alternative that I can explore?我可以探索另一种选择吗?

If you're looking at keeping costs low, can you use some sort of cron functionality on your IoT device to POST data to a Lambda function that writes to S3, possibly?如果您希望保持低成本,您是否可以在您的物联网设备上使用某种 cron 功能将数据发布到 Lambda function 写入 S3,可能吗?

Option 2 with Kinesis Data Firehose has the least administrative overhead.使用 Kinesis Data Firehose 的选项 2 具有最少的管理开销。

You may also want to look into the native IoT services.您可能还想研究原生 IoT 服务。 It may be possible to use IoT Core and put the data directly in S3.可以使用 IoT Core 并将数据直接放在 S3 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM