Copy data from EFS to EFS in another AWS account.

0

Hi Everyone,

I'm looking for some guidance on copying EFS data from one AWS account to another AWS account.

From what what I understand from reading other posts, I need to choose the source as NFS and the destination as EFS.

How do I go about referencing the EFS share in the destination location? It won't show in the drop-down list as it resides in another AWS account which makes sense.

Do I need to create a peering connection between the two VPC's? Or is there something else i'm missing?

My agent is activated via a public endpoint if that matters any.

Thanks for any help provided,
Craig.

已提問 4 年前檢視次數 5261 次
2 個答案
1

Hi Craig,

VPC peering is not needed in this case.
Given a source account A, and a destination account B, you can:

1- Run an EC2 agent in account A, in the AWS Region where your source EFS resides, in an Availability Zone that has a mount target for your EFS.
2- Activate the agent against account B, in the destination region (if you are using the AWS Management Console, log into account B, and provide the IP of your agent when performing activation).
3- In account B, in the destination region, create a task with a source NFS location, using your agent, and specifying the source EFS address. The destination would be an EFS location.

Regards,
Olga

Edited by: olga-aws on Jul 29, 2020 11:50 AM

已回答 4 年前
  • One question here, Did you set up an endpoint in the destination subnet? If yes how did you make it visible during the agent creation in the source subnet?

0

It all makes sense now :)

Thank you so much Olga. I was successfully able to replicate my EFS share over to the second account using the advice you posted.

Thank you very much for all your help.
Craig.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南