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
已提问 2 年前1243 查看次数
2 回答
2
已接受的回答

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
已回答 2 年前
  • 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
已回答 2 年前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则