如何在 AWS 中将 Lambda 与 S3 事件一起使用

How to use Lambda with S3 events in AWS

我在学习 AWS 时遇到了这个问题:

A user is designing a new service that receives location updates from 3600 rental cars every second. The cars location needs to be uploaded to an Amazon S3 bucket. Each location must also be checked for distance from the original rental location. Which services will process the updates and automatically scale?

Options:
A.  Amazon EC2 and Amazon EBS
B.  Amazon Kinesis Firehose and Amazon S3
C.  Amazon ECS and Amazon RDS
D.  Amazon S3 events and AWS Lambda 

我的问题是选项D如何作为解决方案?或者我应该使用 Firehose 将数据摄取(捕获和转换)到 S3 中吗?

谢谢。

我会选择选项B

a.)这提供了将数据直接提取到 S3 的服务

b.) Firehose 将进行 Lambda 转换,它可以计算与原始位置的距离,并且可以存储在 S3 中