AWS CLI:AWS在2个不同的s3提供程序之间同步 [英] AWS CLI: aws sync between 2 different s3 providers

查看:120
本文介绍了AWS CLI:AWS在2个不同的s3提供程序之间同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能在两个不同的s3提供程序之间同步存储桶的解决方案吗?

Does anybody have a solution to sync a bucket between 2 different s3 providers?

例如一个是Amazon S3,第二个是Wasabi S3?

For example one is Amazon S3, second is Wasabi S3?

这涉及2个不同的端点和2个不同的凭据集.

That involves 2 different endpoints and 2 different sets of credentials.

最好先不本地存储数据,谈论1+百万个文件.

Preferable without storage data locally first, talking about 1+ million files.

推荐答案

这不可能.

在Amazon S3中,即使在不同的区域中,也可以在两个存储桶之间直接进行复制,因为每个区域中的S3服务都可以相互通信.

In Amazon S3, it is possible to copy directly between two buckets, even in different regions, because the S3 services in each region communicate with each other.

使用非Amazon服务是不可能的.

This wouldn't be possible with a non-Amazon service.

因此,最好的选择是启动EC2实例,使用aws s3 sync下载文件,然后使用aws s3 sync(具有不同的端点和凭据)连接到Wasabi.

Therefore, your best bet would be to launch an EC2 instance, use aws s3 sync to download the files, then use aws s3 sync (with a different endpoint & credentials) to connect to Wasabi.

与S3兼容的提供程序可能提供一种更简单的方法,但Wasabi似乎建议使用下载并复制"方法:

It is possible that the S3-compatible providers might offer an easier method, but it appears that Wasabi recommends the 'download and copy' method: How do I copy files from AWS S3 to Wasabi? – Wasabi Knowledge Base

这篇关于AWS CLI:AWS在2个不同的s3提供程序之间同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆