{"id":93188,"date":"2024-02-15T20:06:45","date_gmt":"2024-02-16T01:36:45","guid":{"rendered":"https:\/\/www.whizlabs.com\/blog\/?p=93188"},"modified":"2024-02-15T20:08:11","modified_gmt":"2024-02-16T01:38:11","slug":"amazon-elastic-file-system","status":"publish","type":"post","link":"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/","title":{"rendered":"Navigating the Power of Amazon Elastic File System (EFS)"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Amazon Elastic File System (Amazon EFS) is a user-friendly, serverless file system that operates on a set-and-forget principle. It requires no intricate setup or minimum fees.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">With Amazon EFS, you only incur charges for the storage space you utilize, as well as for read and write access to data stored in Infrequent Access storage classes, and any allocated throughput. The solution architect is responsible for handling the Amazon Elastic File System.<\/span><\/p>\n<p>To prepare for the <a href=\"https:\/\/www.whizlabs.com\/aws-solutions-architect-associate\/\" target=\"_blank\" rel=\"noopener\">AWS Certified Solutions Architect &#8211; Associate exam<\/a> (SAA-C03), it&#8217;s essential to delve into the specifics of Amazon EFS, including its features, use cases, integration possibilities, and best practices.<\/p>\n<p><span style=\"font-weight: 400;\">In this blog, we will delve into the basics of AWS EFS, AWS EFS features, and AWS EFS use cases, and make comparisons with other storage solutions provided by AWS. <\/span><span style=\"font-weight: 400;\">Furthermore, you will gain an understanding of how to connect and configure EFS through our guided hands-on labs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s dive in!<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ea7e02;color:#ea7e02\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ea7e02;color:#ea7e02\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#Amazon_Elastic_File_System_EFS_An_Overview\" >Amazon Elastic File System (EFS): An Overview<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#Amazon_EFS_features\" >Amazon EFS features<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#When_to_opt_for_AWS_EFS\" >When to opt for AWS EFS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#AWS_EFS_pricing\" >AWS EFS pricing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#How_does_Amazon_EFS_Differ_from_other_storage_classes\" >How does Amazon EFS Differ from other storage classes?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#How_to_configure_and_connect_to_Amazon_Elastic_File_System\" >How to configure and connect to Amazon Elastic File System ?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#AWS_EFS_Use_cases\" >AWS EFS Use cases<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#Advantages_of_AWS_Elastic_File_System_EFS\" >Advantages of AWS Elastic File System (EFS)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#Limitations_of_AWS_Elastic_File_System_EFS\" >Limitations of AWS Elastic File System (EFS)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#FAQs\" >FAQs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-file-system\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Amazon_Elastic_File_System_EFS_An_Overview\"><\/span><strong>Amazon Elastic File System (EFS): An Overview<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">AWS Elastic File System (EFS) is one of the major <\/span><span style=\"font-weight: 400;\">storage solutions of Amazon<\/span><span style=\"font-weight: 400;\">. This storage type can be scalable, serverless, and cloud-based file systems. It supports Linux-based applications and workloads and works together with the AWS cloud services and on-premise cloud resources.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">According to the needs, the EFS has been categorized into two storage classes such as infrequent access and standard access.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In standard access, the storage will be accessed frequently whereas infrequent accessing storage is meant for long-term usage but can be accessed with less frequency at an affordable cost.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The file systems can be scaled automatically from the storage size ranging from gigabytes to petabytes without the need for storage provisioning. A massive number of computing instances can access the AWS EFS file system at the same time and you can pay only for what you use.<\/span><\/p>\n<blockquote><p>Also Read: Different <a href=\"https:\/\/www.whizlabs.com\/blog\/aws-storage-solutions\/\" target=\"_blank\" rel=\"nofollow noopener\">Storage solutions of AWS<\/a><\/p><\/blockquote>\n<h2><span class=\"ez-toc-section\" id=\"Amazon_EFS_features\"><\/span><strong>Amazon EFS features<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Amazon Elastic File System (EFS) has some unique features as follows:<\/span><\/p>\n<h6><b>Fully Managed<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">AWS EFS refers to a fully managed service that offers NFS-shared file system storage to manage the Linux workloads. It can be built easily and configuration of the file system using the Amazon EFS can be done easier. You need not take care of the file server or storage management, hardware updates, software configuration, or backups. The main benefit of the Amazon EFS such that you can create the fully managed file system within seconds in the <a href=\"https:\/\/aws.amazon.com\/console\/\" target=\"_blank\" rel=\"noopener\">AWS Management Console<\/a>, AWS Command Line Interface (CLI), or an AWS SDK.<\/span><\/p>\n<h6><b>Highly available and durable<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">\u00a0Amazon Elastic File System (EFS) has a <strong>high durability of 99.999999999% and availability of up to 99.99 %.<\/strong> When you opt for the Standard storage classes,\u00a0 AWS EFS retains every file system object such as directory, file, and link redundantly across the multiple Availability Zones (AZs). When you choose AWS EFS One Zone storage classes, then the data will be stored redundantly within a single Availability Zone.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This system is designed to handle concurrent device failures by quickly detecting and correcting lost redundancy. Additionally, a file system using Standard storage classes in any AWS Region can be accessed from any Availability Zone (AZ) where it is located.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In simpler terms, you can set up your application to seamlessly switch from one AZ to another within the Region, ensuring maximum availability. Mount targets for all Amazon EFS storage classes are intended to be highly accessible within a specific AZ.<\/span><\/p>\n<h6><b>Elastic &amp; Scalable<\/b><\/h6>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">EFS automatically scales your file system&#8217;s storage based on the number of documents.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It expands when new files are added and contracts when files are deleted.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">No need for customers to pre-provision storage.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">EFS can handle a petabyte-scale file system and its throughput scales with its capacity.<\/span><\/li>\n<\/ul>\n<h6><b>Performance Modes<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">EFS offers two performance modes<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>General purpose: <\/b><span style=\"font-weight: 400;\">Provides low per-operation latency, accommodating up to 35,000 IOPS.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Max I\/O:<\/b><span style=\"font-weight: 400;\"> Supports 500,000+ IOPS with higher per-operation latencies.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">EFS One Zone storage classes always use General Purpose mode, and you can choose either the default General Purpose or the Max I\/O option for EFS Standard storage types.<\/span><\/p>\n<h6><b>Throughput Modes<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">AWS EFS provides two throughput modes:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Bursting Throughput (default):<\/b><span style=\"font-weight: 400;\"> Suited for applications with bursty throughput patterns. Saves burst credits during low throughput and utilizes burst buckets during high throughput.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Provisioned Throughput: <\/b><span style=\"font-weight: 400;\">Ideal for applications with a relatively steady throughput. In this mode, you define a level of throughput irrespective of the file system&#8217;s size or burst credit balance.<\/span><\/li>\n<\/ul>\n<h6><b>Security<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">AWS EFS ensures security through measures such as:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Network traffic security<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">File and directory access control<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Data encryption<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Identity and Access Management (IAM) integration.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"When_to_opt_for_AWS_EFS\"><\/span><strong>When to opt for AWS EFS?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Amazon EFS is applicable in various scenarios:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Shared File Storage:<\/strong> For situations where multiple EC2 instances need to access the same data, Amazon EFS stands out. It adeptly manages shared data, ensuring consistency across instances.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Scalability:<\/strong> Amazon EFS functions as a dynamic storage solution, capable of adjusting its capacity based on incoming data. This makes it particularly useful when the anticipated data volume is uncertain.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Simplified Data Sharing:<\/strong> In cases where different applications require access to the same data collaboratively, Amazon EFS is a preferred choice. It facilitates the seamless sharing of large datasets across a group of instances.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Use with Serverless Applications:<\/strong> Amazon EFS is well-suited for integration with serverless computing services, including prominent examples like AWS Lambda. This compatibility makes it an advantageous choice for serverless application architectures.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Pay-as-You-go Model:<\/strong> In instances where your application experiences unpredictable storage growth, Amazon EFS offers a flexible payment model. There&#8217;s no requirement for upfront payments or prior commitments; you only incur charges for the storage utilized.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Before selecting a specific service for your application, a thorough analysis of the cost implications and data requirements is essential. This ensures informed decision-making aligned with your application&#8217;s needs.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"AWS_EFS_pricing\"><\/span><strong>AWS EFS pricing<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In the Amazon EFS, you can pay only what you use. There are no setup fees required. It has two storage classes such as standard storage and infrequent access storage.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here\u2019s the detailed breakdown of the AWS EFS pricing:<\/span><\/p>\n<h5><b>Standard Storage Class (Default)<\/b><\/h5>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Designed for active file system workloads.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Pay only for the storage space used per month.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Ideal for consistently used file systems<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h5><b>Infrequent Access Storage Class<\/b><\/h5>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Cost-effective option for rarely accessed files.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Lower cost compared to Standard Storage Class.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Charges are incurred for each read or write operation.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h5><b>Bursting Throughput (Default)<\/b><\/h5>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">No additional charges for bandwidth or requests in the default Bursting Throughput mode.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Includes a baseline throughput of 50 KB\/s per GB in the storage price.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Suitable for workloads with varying activity levels.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h5><b>Provisioned Throughput<\/b><\/h5>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Allows independent provisioning of file system throughput.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Pay separately for storage and throughput.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Offers 50 KB\/s per GB (or 1 MB\/s for 20 GB) of throughput within the storage price.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Charges apply only for extra throughput beyond the baseline provided based on stored data.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"How_does_Amazon_EFS_Differ_from_other_storage_classes\"><\/span><strong>How does Amazon EFS Differ from other storage classes?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<table>\n<tbody>\n<tr>\n<td><strong>Feature<\/strong><\/td>\n<td><strong>Amazon EFS<\/strong><\/td>\n<td><strong>Amazon EBS<\/strong><\/td>\n<td><strong>Amazon S3<\/strong><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Cost<\/span><\/td>\n<td><span style=\"font-weight: 400;\">$0.3 per GB\/month, with an additional $6 per MB\/month for provisioned throughput<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Monthly cost ranges from $0.045 to $0.125 per GB (depending on volume type)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Monthly cost ranges from $0.021 to $0.023 per GB (depending on total storage)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Performance<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Supports up to 500k IOPS, offers 10+ GB\/s throughput, with a minimum of 3 GB\/s<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Performance varies by volume type, ensuring a minimum of 3 IOPS per GB of storage<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Handles 3500 PUT\/LIST\/DELETE requests per second, along with 5500 GET requests per second<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Availability and Accessibility<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Highly available with no defined SLA percentage, accessible by up to 1K instances from multiple AZs or Regions<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Guarantees 99.99% availability, accessible through a single EC2 instance<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Maintains 99.99% availability, accessible via the Internet and API<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Access Control<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Access is managed through user and group-level permissions. File access requires endpoint access<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Access is controlled through IAM and security groups<\/span><\/td>\n<td>IAM and bucket policies govern access<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Storage and File Limits<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Offers unlimited storage size and supports up to a 47.9 TB file size<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Provides 16 TB of storage per volume with unlimited volumes. The file size is limited by volume size<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Allows unlimited storage size with a maximum file size of 5 TB<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><\/h3>\n<div class=\"ast-oembed-container \" style=\"height: 100%;\"><iframe title=\"Amazon S3 vs EBS vs EFS | AWS Solutions Architect Associate | AWS CSAA Preparation | Whizlabs\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wHt_g_whUKY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"How_to_configure_and_connect_to_Amazon_Elastic_File_System\"><\/span><strong>How to configure and connect to Amazon Elastic File System ?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In this hands-on laboratory session, you will be guided through the process of connecting and configuring Amazon Elastic File System (EFS). <\/span><span style=\"font-weight: 400;\">The practical exercises will provide you with a comprehensive understanding of establishing a connection between Amazon Elastic File System and <a href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/\" target=\"_blank\" rel=\"noopener\">Amazon Elastic Compute Cloud (EC2)<\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To initiate the lab exercises, follow these steps:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Access the <a href=\"https:\/\/www.whizlabs.com\/labs\/\" target=\"_blank\" rel=\"noopener\">Whizlabs hands-on labs<\/a> page. A premium subscription is required to access the lab&#8217;s page, you must need a premium subscription.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once on the lab&#8217;s page, utilize the search bar to type &#8220;<a href=\"https:\/\/www.whizlabs.com\/labs\/mount-elastic-file-system-efs-on-ec2\" target=\"_blank\" rel=\"noopener\">Mount Elastic File System (EFS) on EC2<\/a>&#8220;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select the relevant lab from the search results.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Before setting up the lab environment, thoroughly review the lab details provided. This information will ensure you have a clear understanding of the tasks involved.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the step-by-step instructions provided in the guided lab.<\/span><\/li>\n<\/ul>\n<h5><b>Task 1: Sign in to the AWS Management Console<\/b><\/h5>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the &#8220;Open Console&#8221; button to access the AWS Console in a new browser tab.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">On the AWS sign-in page, leave the Account ID as default. Do not edit or remove the 12-digit Account ID.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Copy your User Name and Password from the Lab Console to the IAM Username and Password in the AWS Console. Click &#8220;Sign in.&#8221;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once signed in, set the default AWS Region to US East (N. Virginia) us-east-1.<\/span><\/li>\n<\/ul>\n<h5><b>Task 2: Launching two EC2 Instances<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">Ensure you are in the N. Virginia Region.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Navigate to Services &gt; EC2 &gt; Instances &gt; Launch instances.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Set the number of instances to 2, name them as MyEC2-1 and MyEC2-2.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Choose Amazon Linux 2 AMI, t2.micro instance type, and create a new key pair named MyEC2Key.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93288 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI.webp\" alt=\"Launching two EC2 Instances\" width=\"940\" height=\"417\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI.webp 940w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI-300x133.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI-768x341.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI-150x67.webp 150w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93289 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI1.webp\" alt=\"Amazon EFS Instance type \" width=\"935\" height=\"275\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI1.webp 935w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI1-300x88.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI1-768x226.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI1-150x44.webp 150w\" sizes=\"(max-width: 935px) 100vw, 935px\" \/><\/p>\n<p dir=\"ltr\">Click on each instance and name it as <strong><em>MyEC2-1<\/em>\u00a0<\/strong>and\u00a0<em><strong>MyEC2-2<\/strong>.<\/em><\/p>\n<p dir=\"ltr\"><img decoding=\"async\" class=\"alignnone wp-image-93290 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2.webp\" alt=\"Amazon EFS MyEC2-1\u00a0and\u00a0MyEC2-2\" width=\"1106\" height=\"175\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2.webp 1106w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2-300x47.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2-1024x162.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2-768x122.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/AMI2-150x24.webp 150w\" sizes=\"(max-width: 1106px) 100vw, 1106px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Configure network settings, create a security group (EFS Security Group) and launch the instances. <\/span><span style=\"font-weight: 400;\">Note the IPv4 Public IP Addresses of the EC2 instances.<\/span><\/p>\n<h5><b>Task 3: Creating an Elastic File System<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">Navigate to Services &gt; EFS &gt; Create file system.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93293 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS.webp\" alt=\"Creating an Elastic File System\" width=\"755\" height=\"237\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS.webp 755w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS-300x94.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS-150x47.webp 150w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Customize the file system details, name it EFS-Demo, and ensure the default VPC and regional options are selected. <\/span><span style=\"font-weight: 400;\">Uncheck &#8220;Enable automated backups&#8221; and proceed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Configure Network Access by selecting the VPC, all Availability Zones, and the EFS Security Group.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93292 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1.webp\" alt=\"Creating an Elastic File System\" width=\"1257\" height=\"581\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1.webp 1257w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1-300x139.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1-1024x473.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1-768x355.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS1-150x69.webp 150w\" sizes=\"(max-width: 1257px) 100vw, 1257px\" \/><span style=\"font-weight: 400;\">Click through optional settings and review before clicking &#8220;Create.&#8221;\u00a0<\/span><\/p>\n<p>Now it&#8217;s time to mount the EC2 Instance with the EFS File system.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93295 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1.webp\" alt=\"Creating an Elastic File System\" width=\"1243\" height=\"593\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1.webp 1243w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1-300x143.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1-1024x489.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1-768x366.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/EFS2-1-150x72.webp 150w\" sizes=\"(max-width: 1243px) 100vw, 1243px\" \/><\/p>\n<h5><b>Task 4: Mount the File System to MyEC2-1 Instance<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">Copy the IPv4 Public IP of MyEC2-1.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">SSH into MyEC2-1, switch to root user, update and install the NFS client by running the commands:<\/span><\/p>\n<ul>\n<li style=\"text-align: left;\"><span style=\"font-weight: 400;\"><strong>switch to root user:<\/strong> <\/span>sudo -s<\/li>\n<li style=\"text-align: left;\">\n<div><strong>Run the updates:<\/strong> yum -y update<\/div>\n<\/li>\n<li style=\"text-align: left;\">\n<div><strong style=\"font-size: 16px;\">Install NFS client as amazon-efs-utils:<\/strong><span style=\"font-size: 16px;\"> yum install -y amazon-efs-utils<\/span><\/div>\n<\/li>\n<li style=\"text-align: left;\"><span style=\"font-weight: 400;\">Create a directory &#8216;efs&#8217; and mount the file system using the provided command: <\/span>mkdir\u00a0efs<\/li>\n<li style=\"text-align: left;\"><span style=\"font-weight: 400;\">Display information for all currently mounted file systems using df -h.<\/span><\/li>\n<\/ul>\n<p>Next, mount the file system in this directory.<\/p>\n<p>Once you&#8217;ve clicked on &#8220;Attach&#8221; in the AWS console, you should see instructions on how to mount your EFS file system using the EFS mount helper. Typically, the command looks something like this:<\/p>\n<div class=\"dark bg-black rounded-md\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><img decoding=\"async\" class=\"alignnone wp-image-93300 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1.webp\" alt=\"Mount the File System to MyEC2-1 Instance\" width=\"1263\" height=\"90\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1.webp 1263w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1-300x21.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1-1024x73.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1-768x55.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd1-150x11.webp 150w\" sizes=\"(max-width: 1263px) 100vw, 1263px\" \/><\/div>\n<\/div>\n<div><img decoding=\"async\" class=\"alignnone wp-image-93299 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2.webp\" alt=\"Mount the File System to MyEC2-1 Instance\" width=\"1145\" height=\"267\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2.webp 1145w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2-300x70.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2-1024x239.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2-768x179.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd2-150x35.webp 150w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/div>\n<div>\n<p dir=\"ltr\">Create a directory in the current location:<\/p>\n<\/div>\n<div><img decoding=\"async\" class=\"alignnone wp-image-93298 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd3.webp\" alt=\"Mount the File System to MyEC2-1 Instance\" width=\"730\" height=\"132\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd3.webp 730w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd3-300x54.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/cd3-150x27.webp 150w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/div>\n<h5><b>Task 5: Mount the File System to MyEC2-2 Instance<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">Copy the IPv4 Public IP of MyEC2-2.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To mount SSH into MyEC2-2, follow below steps and enter respective commands:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"> switch to root user:<strong>sudo -s<\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">update: <\/span><\/span><strong>yum -y update<\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">\n<div>\u00a0I<span style=\"font-size: 16px; font-weight: 400;\">nstall the NFS client: <strong>yum -y install amazon-efs-utils<\/strong><\/span><\/div>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-size: 16px; font-weight: 400;\"><span style=\"font-size: 16px; font-weight: 400;\"><span style=\"font-size: 16px; font-weight: 400;\">create a directory &#8216;efs&#8217;: <strong>mkdir efs<\/strong><\/span><\/span><\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 16px; font-weight: 400;\">Now, mount the file system in mkdir directory. <\/span>To do so, visit the AWS console and click on created file system. On the top-right corner, select the <strong>Attach <\/strong>option.<\/p>\n<p>Copy the command: sudo\u00a0mount\u00a0-t\u00a0efs\u00a0-o\u00a0tls\u00a0fs-2ad0a9a8:\/\u00a0efs<\/p>\n<p>To display information for all currently mounted file systems, you can use the following command: df -h<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-93302 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast.webp\" alt=\"Mount the File System to MyEC2-2 Instance\" width=\"1218\" height=\"294\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast.webp 1218w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast-300x72.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast-1024x247.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast-768x185.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efslast-150x36.webp 150w\" sizes=\"(max-width: 1218px) 100vw, 1218px\" \/><\/p>\n<h5><b>Task 6: Testing the File System<\/b><\/h5>\n<p dir=\"ltr\">SSH into both instances in a side-by-side view on your machine, if possible.<\/p>\n<ul>\n<li dir=\"ltr\">\n<p dir=\"ltr\" style=\"text-align: left;\">Switch to root user:sudo -s<\/p>\n<\/li>\n<li dir=\"ltr\" style=\"text-align: left;\">\n<p dir=\"ltr\">Navigate to the\u00a0<strong>efs directory in both the servers\u00a0<\/strong>using the command: cd efs<\/p>\n<\/li>\n<li dir=\"ltr\" style=\"text-align: left;\">\n<p dir=\"ltr\">Create a file in any one server: touch hello.txt<\/p>\n<\/li>\n<li dir=\"ltr\" style=\"text-align: left;\">\n<p dir=\"ltr\">Check the file using this command: ls -ltr<\/p>\n<\/li>\n<li dir=\"ltr\">\n<div style=\"text-align: left;\">Now go to the other server and key in the command: cd efs<\/div>\n<\/li>\n<\/ul>\n<p dir=\"ltr\">You can see the file created on this server as well and it shows that EFS is working successfully.<\/p>\n<p dir=\"ltr\">You can try creating files (<strong>touch\u00a0<\/strong>command) or directories (<strong>mkdir\u00a0<\/strong>command) on other servers to continue the EFS deployment.<\/p>\n<p dir=\"ltr\"><img decoding=\"async\" class=\"alignnone wp-image-93303 size-full\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss.webp\" alt=\"Testing the File System\" width=\"1251\" height=\"406\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss.webp 1251w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss-300x97.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss-1024x332.webp 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss-768x249.webp 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/efss-150x49.webp 150w\" sizes=\"(max-width: 1251px) 100vw, 1251px\" \/><\/p>\n<h5><b>Task 7: Validation Test<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">Click the &#8220;Validation&#8221; button to assess whether the lab steps are completed successfully. The validation checks AWS resources and confirms the successful implementation of the lab.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"AWS_EFS_Use_cases\"><\/span><strong>AWS EFS Use cases<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Here are the common use cases of Amazon EFS:<\/span><\/p>\n<p><img decoding=\"async\" class=\"wp-image-93541 size-full aligncenter\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases.webp\" alt=\"Amazon EFS use Cases\" width=\"625\" height=\"625\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases.webp 625w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases-300x300.webp 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases-150x150.webp 150w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases-250x250.webp 250w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-EFS-use-Cases-96x96.webp 96w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Secure File Sharing:<\/strong> Amazon EFS provides a secure and efficient method for sharing files, ensuring a high level of security while maintaining consistency across the entire system.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Web Hosting:<\/strong> Well-suited for web servers, Amazon EFS enables multiple web servers to access the file system, offering a scalable solution that adjusts seamlessly as data volumes increase.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Modernize Application Development:<\/strong> EFS facilitates efficient data sharing across AWS resources like ECS, EKS, and serverless web applications. This streamlines application development without requiring extensive management efforts.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Machine Learning and AI Workloads:<\/strong> Amazon elastic file system is particularly well-suited for large-scale AI applications, providing an optimal environment where multiple instances and containers can access the same data. This improves collaboration and reduces data duplication, enhancing the efficiency of <a href=\"https:\/\/www.whizlabs.com\/blog\/latest-trends-in-ai-and-ml\/\" target=\"_blank\" rel=\"noopener\">machine learning and AI <\/a>workloads.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Advantages_of_AWS_Elastic_File_System_EFS\"><\/span><strong>Advantages of AWS Elastic File System (EFS)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The core benefits of using <span style=\"font-weight: 400;\">AWS Elastic File System (EFS)such as:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Scalability and Elasticity:<\/strong> EFS is scalable and elastic, allowing dynamic adjustments based on the amount of data to be stored. Scaling occurs automatically, simplifying management.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Simultaneous Access:<\/strong> Multiple instances within AWS can concurrently access EFS, facilitating seamless data sharing across instances.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Availability Across Availability Zones:<\/strong> In the same region, EFS replicates data across multiple availability zones, enhancing data availability and redundancy.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Backup Capabilities:<\/strong> EFS enables periodic data backups, providing a safeguard against data loss. This ensures that you always have a backup available when needed.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>POSIX File System Features:<\/strong> EFS supports a wide array of POSIX file system features, making it compatible with many Linux-based applications.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Limitations_of_AWS_Elastic_File_System_EFS\"><\/span><strong>Limitations of AWS Elastic File System (EFS)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Protocol Limitation:<\/strong> EFS exclusively supports the Network File System (NFS) protocol. Devices that do not support NFS cannot mount or access EFS.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Maximum File Size:<\/strong> EFS imposes a maximum file size limitation of 47.9 TB.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Throughput and IOPS Limitations:<\/strong> Each file system in EFS has a maximum throughput of 1000 MB\/s and a cap of 16,000 IOPS, potentially impacting high-performance requirements.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>File and Directory Limits:<\/strong> The number of files and directories within a single file system is determined by its size. For instance, a 1 TB file system can support approximately 20 million files and directories.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Regional Availability and Data Migration:<\/strong> EFS is available only in specific regions, and data migration between regions is not supported.<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"FAQs\"><\/span><span style=\"font-weight: 400;\">FAQs<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><b>Why use EFS instead of EBS?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">EFS stands out for its ability to be mounted with multiple EC2 instances, unlike EBS.<\/span><\/p>\n<p><b>What are the characteristics of an Amazon EFS?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon EFS is highly scalable in both storage capacity and throughput performance.<\/span><\/p>\n<p><b>Mention the Amazon EFS backup options.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon EFS offers the following backup options:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AWS DataSync<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AWS Backup<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AWS Transfer Family<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">EFS-to-EFS Backup<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Amazon S3 (Simple Storage Service<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Amazon Glacier<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><span style=\"font-weight: 400;\">Conclusion<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Hope this article explored the basics of Amazon Elastic File System (EFS)<\/span> <span style=\"font-weight: 400;\"> in detail through our hands-on labs. Throughout this exploration, we delved into the key aspects of setting up, managing access, optimizing performance, and ensuring data durability.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Whether for shared file storage, serverless applications, or other use cases, Amazon EFS provides a powerful and flexible foundation for AWS users.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon Elastic File System (Amazon EFS) is a user-friendly, serverless file system that operates on a set-and-forget principle. It requires no intricate setup or minimum fees.\u00a0 With Amazon EFS, you only incur charges for the storage space you utilize, as well as for read and write access to data stored in Infrequent Access storage classes, and any allocated throughput. The solution architect is responsible for handling the Amazon Elastic File System. To prepare for the AWS Certified Solutions Architect &#8211; Associate exam (SAA-C03), it&#8217;s essential to delve into the specifics of Amazon EFS, including its features, use cases, integration possibilities, [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":93542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[10],"tags":[5107,5108],"class_list":["post-93188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-computing-certifications","tag-amazon-efs","tag-amazon-elastic-file-system"],"uagb_featured_image_src":{"full":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",1280,720,false],"thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-150x150.webp",150,150,true],"medium":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-300x169.webp",300,169,true],"medium_large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-768x432.webp",768,432,true],"large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-1024x576.webp",1024,576,true],"1536x1536":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",1280,720,false],"2048x2048":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",1280,720,false],"profile_24":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",24,14,false],"profile_48":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",48,27,false],"profile_96":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",96,54,false],"profile_150":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",150,84,false],"profile_300":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS.webp",300,169,false],"tptn_thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-250x250.webp",250,250,true],"web-stories-poster-portrait":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-640x720.webp",640,720,true],"web-stories-publisher-logo":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-96x96.webp",96,96,true],"web-stories-thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2024\/02\/Amazon-Elastic-File-System-EFS-150x84.webp",150,84,true]},"uagb_author_info":{"display_name":"Pavan Gumaste","author_link":"https:\/\/www.whizlabs.com\/blog\/author\/pavan\/"},"uagb_comment_info":5,"uagb_excerpt":"Amazon Elastic File System (Amazon EFS) is a user-friendly, serverless file system that operates on a set-and-forget principle. It requires no intricate setup or minimum fees.\u00a0 With Amazon EFS, you only incur charges for the storage space you utilize, as well as for read and write access to data stored in Infrequent Access storage classes,&hellip;","_links":{"self":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/93188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/comments?post=93188"}],"version-history":[{"count":18,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/93188\/revisions"}],"predecessor-version":[{"id":93614,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/93188\/revisions\/93614"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media\/93542"}],"wp:attachment":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media?parent=93188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/categories?post=93188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/tags?post=93188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}