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.

posta 4 anni fa5261 visualizzazioni
2 Risposte
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

con risposta 4 anni fa
  • 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.

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande