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年前1229ビュー
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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ