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
demandé il y a 2 ans1254 vues
2 réponses
2
Réponse acceptée

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
répondu il y a 2 ans
  • 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
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions