简体   繁体   English

只要在AWS S3存储桶中创建新文件,是否有任何服务/ google cloud api支持调用从AWS S3到google存储的文件传输?

[英]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.

相关问题 将文件从AWS S3存储桶复制到Google云存储存储桶 - Copy file from AWS S3 bucket to Google cloud storage bucket 将以某种形式(未从任何类型的文件存储中拉出)创建的文件上传到AWS S3存储桶 - Uploading a file that is created in a form (Not pulled from any kind of file storage) to AWS S3 Bucket 将文件从AWS s3(SSE)存储桶复制到Google Cloud - Copying files from AWS s3 (SSE) bucket to google cloud 如何使用 gsutil 通过 http 链接从谷歌云存储下载到 AWS 实例或 s3 存储桶? - How to use gsutil to download from google cloud storage to AWS instance or s3 bucket with a http link? 从AWS S3转移到Google-Cloud-Storage“UNKNOWN”失败 - Transfer from AWS S3 to Google-Cloud-Storage “UNKNOWN” failures 如何将数据从Amazon AWS S3传输到Google云存储 - how do I transfer data from amazon aws S3 to google cloud storage AWS S3 存储桶和谷歌云存储桶之间的实时同步 - Realtime sync between AWS S3 bucket and google cloud storage bucket 当我们将数据从加密的 AWS S3 存储桶发送到加密的 Google Cloud Storage 存储桶时,该数据在传输过程中是否加密? - When we send data from an encrypted AWS S3 bucket to an encrypted Google Cloud Storage bucket, is that data encrypted in transit? 从 Google Cloud Storage 存储桶复制到 S3 存储桶 - Copy from Google Cloud Storage Bucket to S3 Bucket 从R中的AWS S3存储桶获取最后修改的文件 - Get last modfied file from AWS S3 bucket in R
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM