Is there an option to create an EFS from an EBS snapshot?

0

We currently have an instance on EC2 classic with an EBS with a directory with at least 1Tb of data. We mount that directory with Gluster on different instances.

Now that EC2 Classic is ending we want to migrate the instance to a VPC and stop using Gluster in favour of EFS. Is it possible to use a snapshot of the EBS containing the data to generate an EFS from it?

We haven't found any information about this in the documentation and/or internet and it seems that the only option is to launch an instance from the snapshot in the VPC, mount the EFS and transfer the data (rsync or cp...).

Imobach
gefragt vor 2 Jahren1229 Aufrufe
2 Antworten
2
Akzeptierte Antwort

The best options here are:

  1. Enable NFS Server on a Linux system that has the EBS volume mounted, and then use DataSync to copy from the resulting NFS share.
  2. Copy from the client side with rsync/cp/rclone.
AWS
kdavyd
beantwortet vor 2 Jahren
  • We want to avoid the option 2 you suggest, but option 1 could be a solution, thank you for your suggestions.

2

I am not an expert in that domain but maybe AWS DataSync can help you out here? if u can use it to sync data from on-prem to EFS it might also be helpful here.

AWS
Marco
beantwortet vor 2 Jahren
  • I don't know how DataSync works internally and how it handles errors (in the transfer of 1Tb there can be many), we will have to study it. Thanks for the contribution.

  • I have been doing some research and AWS DataSync does not support EBS, these are the supported types:

    Network File System (NFS)
    Server Message Block (SMB)
    Hadoop Distributed File System (HDFS)
    On-premises (self-managed) object storage
    Amazon EFS
    Amazon FSx for Windows File Server
    Amazon FSx for Lustre
    Amazon S3
    

    There doesn't seem to be an option for network files mounted with GlusterFS or else EBS disks on EC2 instances.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen