[英]is there any service/google cloud api support to invoke file transfer from AWS S3 to google storage, as soon as new file get created in AWS S3 bucket?
Wanted to check with you guys that is there any service/google cloud api support to invoke file transfer from AWS S3 to google storage, as soon as new file get created in AWS S3 bucket? 想与大家核实一下,在AWS S3存储桶中创建新文件后,是否有任何服务/ google cloud api支持调用从AWS S3到google存储的文件传输?
I know that google cloud has storage transfer service, but as per my knowledge it cannot invoked for single file or trigger immediately if new file get added in AWS S3 bucket. 我知道谷歌云有存储转移服务,但据我所知,如果在AWS S3存储桶中添加新文件,则无法调用单个文件或立即触发。 We want to transfer as soon as there is new file in AWS S3.
我们希望在AWS S3中有新文件时立即转移。
We need this solution as we have implemented angularJS application to upload videos to AWS S3, but view videos from S3 is very bad experience, performance is very bad. 我们需要这个解决方案,因为我们已经实现了angularJS应用程序将视频上传到AWS S3,但是从S3查看视频是非常糟糕的经历,性能非常糟糕。 So we wanted to write backend move files to google storage as soon as it get added into S3, this is short term solution we thought till the time we don't have provision to upload videos directly to the google storage.
所以我们想在将后端移动文件添加到S3时立即将其写入谷歌存储,这是我们想到的短期解决方案,直到我们没有将视频直接上传到谷歌存储的规定。
You can publish S3 events to AWS Lambda and run your transfer inside the Lambda function. 您可以将S3事件发布到AWS Lambda并在Lambda函数内运行传输。 Running Lambda functions in response to the objects created in S3 is a common use case.
运行Lambda函数以响应在S3中创建的对象是一个常见的用例。 See Using AWS Lambda with Amazon S3 .
请参阅将AWS Lambda与Amazon S3配合使用 。
Amazon S3 can publish events (for example, when an object is created in a bucket) to AWS Lambda and invoke your Lambda function by passing the event data as a parameter.
Amazon S3可以将事件(例如,在桶中创建对象时)发布到AWS Lambda,并通过将事件数据作为参数传递来调用Lambda函数。 This integration enables you to write Lambda functions that process Amazon S3 events.
此集成使您可以编写处理Amazon S3事件的Lambda函数。 In Amazon S3, you add bucket notification configuration that identifies the type of event that you want Amazon S3 to publish and the Lambda function that you want to invoke.
在Amazon S3中,您可以添加存储桶通知配置,该配置可标识您希望Amazon S3发布的事件类型以及要调用的Lambda函数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.