By using AWS re:Post, you agree to the Terms of Use

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...).

asked 7 months ago171 views
2 Answers
1
Accepted Answer

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.
answered 7 months ago
  • We want to avoid the option 2 you suggest, but option 1 could be a solution, thank you for your suggestions.

1

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.

answered 7 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions