What does this AWS Solutions Implementation do?

Many Amazon Web Services (AWS) customers who use Amazon Elastic File System (Amazon EFS), a highly available and durable file storage service, choose to implement a backup solution to be able to recover from unintended changes or deletions to their file systems.

AWS offers an easy-to-deploy EFS-to-EFS backup solution that automatically creates incremental backups of an Amazon EFS file system on a customer-defined schedule. This webpage provides an overview of the EFS-to-EFS backup solution's design and functionality.

Version 1.5 of the solution uses the most up-to-date Node.js runtime. Version 1.4 uses the Node.js 8.10 runtime, which reaches end-of-life on December 31, 2019. To upgrade to version 1.5, you can update the stack. For more information, see the deployment guide.

AWS Solutions Implementation overview

Important: AWS Backup, a fully managed backup service, enables you to centrally manage backups for Amazon EFS file systems. AWS recommends that you evaluate AWS Backup for your specific use case before you use this solution. AWS recommends using AWS Backup to implement a backup solution for Amazon EFS to recover from unintended user changes or deletions. For the most current Amazon EFS availability by Region, refer to the Regional Product Services table. If AWS Backup is not available in your Region, use this EFS-to-EFS Backup solution.

AWS offers an easy-to-deploy solution that allows you to automatically back up Amazon EFS file systems. The diagram below presents the components and functionality you can build using the EFS-to-EFS backup solution implementation guide and accompanying AWS CloudFormation template.

EFS-to-EFS Backup | Architecture Diagram
 Click to enlarge

EFS-to-EFS Backup solution architecture

An Amazon CloudWatch event runs on an interval you define during initial configuration. This event invokes the solution’s orchestrator AWS Lambda function.

The Lambda function launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, creates an ID for the backup, and stores details on the backup Amazon Elastic File System (Amazon EFS) file system in an Amazon DynamoDB table.

The Amazon EC2 instance mounts the source and backup Amazon EFS file systems and initiates the backup. When the backup process completes, the instance updates the backup activity details in the DynamoDB table and sends logs to an Amazon Simple Storage Service (Amazon S3) bucket. Then, the instance is terminated.

If the backup is unsuccessful, Amazon Simple Notification Service (Amazon SNS) sends a notification to subscribed email addresses. You can also choose to be notified if the backup is successful.

EFS-to-EFS Backup

Version 1.5
Last updated: 12/2019
Author: AWS

Estimated deployment time: 5 min

Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  

Did this Solutions Implementation help you?
Provide feedback 

Features

EFS-to-EFS Backup reference implementation

Leverage Video on Demand on AWS as a reference implementation to automatically launch and configure the components necessary to automatically back up Amazon EFS file systems.

Consistent Backups

The EFS-to-EFS backup solution uses fpsync, a tool that synchronizes directories in parallel using fpart and rsync, to copy the source file system to the backup file system.

Incremental Backups

This solution captures the state of an Amazon EFS file system at a point in time. If you specify a backup window long enough to copy your entire file system, the solution will copy the entire file system or the entire subdirectory the first time it creates a backup.

Granular Backups

This solution enables customers to specify any valid directory from their source file system.
Build icon
Deploy a Solution yourself

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an APN Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Explore icon
Explore Solutions Consulting Offers

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.

Learn more