Amazon Elastic File System (Amazon EFS)
Cloud service · AWS · Updated

Amazon Elastic File System (Amazon EFS)

In short

Amazon Elastic File System (Amazon EFS) is a cloud-based file storage service offered by Amazon Web Services (AWS) that provides a simple, scalable, elastic file system for use with AWS Cloud services and on-premise resources.

Cloud Services Hub →

8 key features of Amazon Elastic File System (Amazon EFS)

Amazon EFS provides a simple, scalable, and fully managed elastic file system with features like high durability, availability, security, and shared file storage, designed for easy scaling and management, significantly reducing overhead while ensuring data safety and compliance.

01
Simple, Scalable, and Elastic

Amazon EFS is designed to provide a simple, serverless, set-and-forget elastic file system. It automatically scales without needing to provision storage or throughput capacity, ensuring users pay only for what they use without worrying about storage limits.

02
Fully Managed Service

As a fully managed service, Amazon EFS eliminates the need to manage and configure hardware or file servers, significantly reducing the overhead for storage management tasks such as hardware provisioning, software patching, and backups.

03
Highly Durable and Available

Amazon EFS is built to be highly durable and available. It is designed to provide 99.999999999% (11 9's) of durability over a given year and is built to be available and resilient, with Regional file systems spreading data across multiple availability zones.

04
Secure

Amazon EFS offers robust security capabilities, including encryption of data at rest and in transit, integrated with AWS Identity and Access Management (IAM) for fine-grained access control, and is compliant with various regulatory standards.

05
Shared File Storage

It offers shared file storage for thousands of Amazon EC2 instances, supporting a broad spectrum of use cases, from content management and web serving, to data analytics and machine learning, providing a centralized file storage location for scalable compute workloads.

06
NFS Protocol Support

Amazon EFS supports the NFSv4.1 and NFSv4.0 protocols.

07
IPv6 Support

Amazon EFS supports IPv6 on its service APIs and mount targets.

08
Cross-Account Replication

Amazon EFS supports replication across AWS accounts.

Where Amazon Elastic File System (Amazon EFS) is used

Amazon Elastic File System (Amazon EFS) is utilized across a broad spectrum including web serving, data analytics, software development and testing, database backup, as well as supporting machine learning and AI applications by offering scalable, shared file storage.

  1. 01
    Web Serving and Content Management

    Amazon EFS is used to store and serve web content and media for web serving applications and content management systems. It allows multiple instances to access the content in a scalable, shared environment.

  2. 02
    Data Analytics

    By providing a centralized storage solution, Amazon EFS supports big data analytics applications. It can store large volumes of data and allow multiple analytics tools and instances to process this data simultaneously.

  3. 03
    Software Development and Testing

    Developers use Amazon EFS as a shared storage for development, testing, and staging environments, enabling teams to work in parallel without duplicating files, which simplifies the CI/CD pipeline.

  4. 04
    Database Backup

    Amazon EFS serves as a highly available and scalable storage option for backing up databases. Its on-demand scaling feature allows it to adapt to the growing size of database backups.

  5. 05
    Machine Learning and AI

    For machine learning and artificial intelligence applications, Amazon EFS provides a shared, scalable file storage for training data, models, and algorithms that facilitate collaboration and streamline workflows.

How Amazon Elastic File System (Amazon EFS) is priced

Amazon EFS pricing includes standard and infrequent access storage classes based on storage usage and an optional provisioned throughput model for higher performance needs.

Amazon EFS Standard Storage Pricing

Charges are based on the average storage amount (in GB) used throughout the month. You pay for the storage you use without any minimum fee or setup cost.

Amazon EFS Infrequent Access (IA) Storage Pricing

EFS IA charges for storage, reads, and tiering between Standard and IA. The minimum billable file size is 128 KiB, including for smaller files.

Amazon EFS Provisioned Throughput

In addition to storage pricing, you can pay for provisioned throughput to achieve higher performance levels, which is billed per MB/s-month of throughput provisioned beyond the baseline rate.

Amazon EFS Elastic Throughput

Elastic Throughput charges for read and write access, rather than for throughput provisioned upfront.

Amazon EFS Archive Storage Pricing

Archive charges for storage, reads, and tiering from Standard or IA to Archive and from Archive to Standard. It has a minimum billable file size of 128 KiB and a minimum storage duration of 90 days, even if data is deleted earlier.

Amazon EFS Data Transfer

Cross-AZ and cross-Region access and replication are subject to applicable EC2 data transfer rates. Accessing a mount target within the same AZ, or replicating between EFS file systems within the same AZ, incurs no data transfer charge.

Amazon EFS Backup

EFS backups use AWS Backup and are charged for backup storage used and backup data restored during the month, with no minimum fee or setup charge.

AWS Free Tier

Starting July 15, 2025, new AWS customers receive up to $200 in Free Tier credits applicable to eligible services including EFS. Customers can choose a free plan available for six months or a paid plan; all credits must be used within 12 months of account creation.

Services Amazon Elastic File System (Amazon EFS) works with

Amazon EC2Amazon EC2

You can mount Amazon EFS file systems to Amazon EC2 instances, enabling scalable and high-performance storage for applications running in your instances.

AWS LambdaAWS Lambda

Amazon EFS integrates with AWS Lambda to give your serverless functions scalable and persistent file storage, enabling processing of large data sets and preserving state across invocations.

Amazon CloudWatchAmazon CloudWatch

Amazon EFS publishes storage, throughput, I/O, and client-connection metrics to CloudWatch for dashboards and alarms. The EFS mount helper can also send mount-status logs to CloudWatch Logs when configured.

Amazon Elastic Container Service (Amazon ECS)Amazon Elastic Container Service (Amazon ECS)

Amazon EFS provides persistent shared storage for ECS tasks through EFS volumes defined in task definitions. Tasks can use EFS access points and IAM authorization to control access to shared application files.

Amazon Elastic Kubernetes Service (Amazon EKS)Amazon Elastic Kubernetes Service (Amazon EKS)

Amazon EFS supplies shared persistent volumes to EKS pods through the Amazon EFS CSI driver. The driver supports dynamic provisioning through EFS access points, allowing multiple pods to share files across nodes and Availability Zones.

Amazon EMRAmazon EMR

Amazon EFS can be mounted on EMR cluster instances using bootstrap actions to provide a shared file system. Files stored there remain available independently of an individual cluster's lifetime.

Amazon EventBridgeAmazon EventBridge

Amazon EFS API activity recorded by CloudTrail can trigger EventBridge rules. For example, a rule can start an automated workflow when an EFS file system is created or its configuration changes.

Amazon RDSAmazon RDS

Amazon EFS integrates with RDS for Oracle through the EFS_INTEGRATION option, allowing the database instance to access files on an EFS file system. This supports workflows such as transferring Oracle Data Pump files without storing them on the database instance's local storage.

Amazon SageMakerAmazon SageMaker

Amazon EFS stores persistent home-directory data for SageMaker Studio Classic and can supply file-system input data to SageMaker training jobs. Supported Studio configurations can also attach custom EFS file systems for shared project data.

Amazon VPCAmazon VPC

Amazon EFS exposes file systems through mount targets with network interfaces in VPC subnets. Security groups control NFS access to those mount targets, allowing only authorized clients to connect.

What is Amazon Elastic File System (Amazon EFS)

3 min read

Amazon Elastic File System (Amazon EFS) is a cloud storage service provided by Amazon Web Services (AWS) designed to provide scalable file storage for use with AWS Cloud services and on-premises resources. It delivers a simple, scalable, elastic file system for Linux-based workloads for use with AWS cloud services and on-premises resources. 

At its core, Amazon EFS is built to offer high levels of availability, scalability, and durability, making it a fitting choice for a wide range of applications and use cases, from content management and data analytics to development environments and machine learning workloads. One of the key advantages of Amazon EFS is its simplicity. It allows users to create and configure file systems quickly without needing to provision or manage capacity. The service automatically scales up or down as you add or remove files. This elastic scaling feature ensures that your applications have the storage they need when they need it, without requiring manual intervention or complex capacity planning. Beyond its scalability and ease of use, EFS is designed to be highly durable and available. Regional file systems store data redundantly across multiple Availability Zones (AZs) within an AWS Region, providing continuous availability even when one or more AZs are unavailable. One Zone file systems store data within a single AZ; loss or damage to that AZ can result in data loss. 

The maximum size of an individual file is 52,673,613,135,872 bytes; this quota is not adjustable.

Elastic Throughput is the default throughput mode and is recommended for most workloads; performance automatically scales with workload activity.

Provisioned Throughput lets you configure throughput performance upfront and is suited to predictable, high levels of sustained throughput requirements.

General Purpose is the default performance mode and is recommended for most workloads.

Furthermore, EFS offers three storage classes: Standard, SSD-based storage for actively used data; Infrequent Access (IA), cost-optimized storage for data accessed only a few times a quarter; and Archive, cost-optimized storage for long-lived data accessed a few times a year or less. Amazon EFS also supports POSIX-compliant file system interfaces and semantics, allowing you to integrate your existing tools and applications seamlessly. This means that applications and tools that are designed to work with traditional file systems can work with EFS without any modification, which significantly reduces the effort required to migrate existing applications to the cloud or to integrate cloud-based resources into on-premises environments. 

For security, EFS integrates with AWS Identity and Access Management (IAM), allowing you to control access at a granular level. It also supports encryption of data at rest and in transit, ensuring that your data is protected both when it is stored and as it travels across the network. 

In conclusion, Amazon EFS presents a versatile, secure, and highly scalable solution for managing file storage in the cloud or hybrid environments. Its integration with AWS services, combined with its support for standard file system interfaces and semantics, makes it an invaluable tool for a wide range of applications, from web serving and content management to container storage and big data analytics. With EFS, businesses can leverage the benefits of cloud storage - such as reduced costs, scalability, and durability - without sacrificing performance or compatibility.

Amazon Elastic File System (Amazon EFS) exam questions

Real practice exam questions on Amazon Elastic File System (Amazon EFS), with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company uses a managed NFS file system for design documents. A lifecycle policy already moves inactive files to an infrequent-access storage class. When an older project resumes, employees repeatedly read its files, but the files remain in the infrequent-access class and incur data access charges. The company wants files to automatically return to the frequently accessed storage class when they are first read again, without changing file paths. Which change meets this requirement?

Show answerCORRECT ANSWER

Configure Amazon EFS Lifecycle Management to transition files back to EFS Standard on first access.

Amazon EFS supports a lifecycle policy that transitions files from Infrequent Access or Archive back to Standard on first access. This supports renewed frequent use while preserving the same file system and file paths.

MLA-C02

A company stores training files for several ML projects in separate directories on one shared Linux file system. Containerized data-preparation jobs run on Amazon EC2 instances, and each project has a distinct IAM role. The containers run as root, and the company cannot modify their images.

The company is moving the files to managed storage. It must retain one shared file system while enforcing these requirements at the storage service: each project's IAM role can access only its assigned directory, file operations use a project-specific non-root POSIX identity regardless of the container's identity, and all client connections use encryption in transit.

Which configuration meets these requirements?

Show answerCORRECT ANSWER

Create an Amazon EFS access point for each project with its project directory as the root and an enforced project-specific non-root UID and GID. Configure directory permissions for that identity. Use file-system and IAM policies to permit each role only through its assigned access point and deny non-TLS and unauthorized access. Mount by using the EFS mount helper with TLS, IAM authorization, and the assigned access point.

EFS access points can enforce both a root directory and a POSIX identity, overriding the identity supplied by the container. IAM authorization and policies that require the assigned access point prevent a project from bypassing that boundary. Denying non-TLS connections enforces encryption in transit.

SAP-C03

A media company stores 300 TB of production assets in an Amazon EFS Regional file system that uses General Purpose performance mode and Elastic Throughput. Linux processing fleets in three Availability Zones access the files through NFS. Files are at least 1 MiB and must remain available in the same namespace for 7 years. Most files receive no content reads after their first week, although a daily inventory process lists directories and reads file metadata. Occasionally, an old asset becomes popular and receives frequent content reads for several weeks.

The company wants files with no content access for 30 days to move to lower-cost storage and files with no content access for 90 days to use the lowest-cost compatible EFS storage class. All files must remain readable without a restore workflow; tens-of-milliseconds first-byte latency for cold files is acceptable. When content access resumes, files must automatically return to storage optimized for frequent access. The solution must retain multi-AZ resilience and require no application changes.

Which solution meets these requirements?

Show answerCORRECT ANSWER

Retain the existing file system configuration. Configure lifecycle transitions to EFS Infrequent Access after 30 days and EFS Archive after 90 days, and configure transition to EFS Standard on first access.

EFS lifecycle management tracks file access independently of POSIX access-time attributes; directory listings and metadata operations do not count as content access. These policies move inactive files into progressively lower-cost classes and automatically promote them to Standard when content access resumes. EFS Archive supports online access with tens-of-milliseconds first-byte latency and does not require restoration. The existing Regional, General Purpose, Elastic Throughput configuration supports these capabilities and preserves multi-AZ resilience.

Practice Amazon Elastic File System (Amazon EFS) in a full exam

Questions on Amazon Elastic File System (Amazon EFS) in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Elastic File System (Amazon EFS) in lessons

23 short lessons on Amazon Elastic File System (Amazon EFS) in 8 certification courses.

and 17 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.