[英]Share files between servers in different AWS accounts
I need to move several GB of data from one AWS account to another.我需要将数 GB 的数据从一个 AWS 账户移动到另一个账户。 The data moved will be loaded in an existing application.
移动的数据将加载到现有应用程序中。 The storage shared between the two accounts will be temporary.
两个帐户之间共享的存储空间将是临时的。
I need a simple solution and not necessarily the "best".我需要一个简单的解决方案,不一定是“最好的”。 I was thinking to use an S3 bucket, but then I thought that it would complicate the implementation of the migration because I would need to read from an S3 bucket instead of a simple file system.
我本来想使用 S3 存储桶,但后来我认为这会使迁移的实施变得复杂,因为我需要从 S3 存储桶而不是简单的文件系统中读取数据。
What is an efficient and simple way to move many GB of data from a file system in one AWS account to a file system in a different AWS account?将许多 GB 数据从一个 AWS 账户中的文件系统移动到不同 AWS 账户中的文件系统的有效且简单的方法是什么?
You have some options, everything depends of the size and the locations of your data.您有一些选择,一切都取决于数据的大小和位置。
A specific service for this kind of situation is the AWS DataSync service, that you can communicate the accounts using VPC peering, but if you cannot peer VPCs together, perhaps due to internal security policies or regulatory compliance, you can still use the inte.net to securely transfer the data.针对这种情况的特定服务是 AWS DataSync 服务,您可以使用 VPC 对等互连来通信帐户,但如果您不能将 VPC 对等互连在一起,可能是由于内部安全策略或法规遵从性,您仍然可以使用 inte.net以安全地传输数据。
The DataSync service supports the following Locations (sources and destinations): DataSync 服务支持以下位置(源和目标):
Your architecture with DataSync can be like the following one:您的 DataSync 架构可能如下所示:
More information about using Datasync can be found here Transferring data between AWS accounts using AWS DataSync有关使用 Datasync 的更多信息,请参见此处使用 AWS DataSync 在 AWS 账户之间传输数据
About the Pricing the AWS DataSync can be costly depending your locations, AWS charges the destination account for the use of AWS DataSync, since this is where you use the DataSync endpoint.关于定价 AWS DataSync 可能会很昂贵,具体取决于您所在的位置,AWS 会向目标账户收取使用 AWS DataSync 的费用,因为这是您使用 DataSync 端点的地方。 Refer to the DataSync pricing page for more information.
有关详细信息,请参阅DataSync 定价页面。
Also, we have the following options that can be an option for you:此外,我们还有以下可供您选择的选项:
Make use of Snapshot here.在这里使用快照。 Share that with the another account > Create the file system their
与另一个帐户共享>创建他们的文件系统
This would be faster to implement also.这也会更快地实施。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.