简体   繁体   中英

Share files between servers in different AWS accounts

I need to move several GB of data from one AWS account to another. 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.

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?

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.

The DataSync service supports the following Locations (sources and destinations):

  • Network File System (NFS)
  • Server Message Block (SMB)
  • Self-managed object storage
  • Amazon EFS
  • Amazon FSx for Windows File Server
  • Amazon S3

Your architecture with DataSync can be like the following one:

在此处输入图像描述

More information about using Datasync can be found here Transferring data between AWS accounts using AWS DataSync

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. Refer to the DataSync pricing page for more information.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM