Voiced by Amazon Polly |
Overview
Moving to cloud helps companies to optimize the IT cost and ability to get rid of most of hardware and software. Also Storing data locally is riskier and maintaining the scalability is bit complex and challenging. So, Amazon came up with Elastic File System (Amazon EFS) is a simple, serverless, set-and-forget file system and overcoming security challenges. There is no additional and complex setup or minimum cost. You only need to pay for the storage you use, for reading and writing access to data stored in Infrequent Access storage classes, and any assigned throughput.
In this blog, we’ll go through the fundamentals of Amazon EFS, steps and deep dive into Amazon EFS Mounting on AWS Cross Account.
Pioneers in Cloud Consulting & Migration Services
- Reduced infrastructural costs
- Accelerated application deployment
Introduction
Amazon Elastic File System (Amazon EFS) is a serverless, fully elastic file storage. You can share file data using Amazon EFS without provisioning or managing storage capacity and performance. It grows and shrinks automatically as you add or remove files from it.
Prerequisites
Two AWS Accounts (Source/Destination)
Steps to Configure Amazon EFS
- Log in to your AWS Account
- Go to the Amazon EFS console, click Create file system, and then click Customize to add more details.
- Fill in the relevant information under customize section below:
- Name: Appropriate Name for Amazon EFS
- Storage Class: Standard/One Zone
- Automated Backups: Enable/Disable
- Lifecycle Management: Moving files to save pricing
- Encryption: Enable/ Disable using KMS
- Performance settings: Select throughput mode
4. After that, click Next at last, and under Network Access Section, select the Amazon VPC. Under the Mount Targets tab, select the appropriate security group with an NFS port open for destination/source CIDR.
5. Now check if any File System Policy is required. Otherwise, click Next, review the list’s settings, and click.
Steps to Create Amazon VPC Peering
- After creating Amazon EFS, configure Amazon VPC peering between the source and destination network in another region.
- Go to the Amazon VPC console, and from the left hand side, select Perring connections and click Create peering connection.
- Name: Suitable name for the connection
- Select Source VPC
- Select another VPC to peer with: select Another account and provide the Account ID of the destination account.
- Region: select the appropriate Region with Accepter VPC ID
3. After filling in the above relevant information in the last click on Create peering connection
4. Once Amazon VPC peering is done successfully, go to the Route table of the source/destination route table and add the route with the target as the newly created peering connection above.
Steps for Amazon EFS Mounting
- Next, go to the Amazon EFS console, and under the newly created Amazon EFS and click on Attach and select Mount via IP
- After that, copy the command available under Using the NFS client section
- And now, go to the Amazon EC2 instance in another region and create a directory using “mkdir efs” command and execute the command copied in the previous step.
4. Now you have successfully mounted the Amazon EFS cross-region, and you can test it by putting the files under the efs folder and using “df -hT”
Conclusion
In this blog, we’ve learned about Amazon EFS, when to use Amazon EFS, and some of the benefits and use cases of Amazon EFS. Amazon EFS file system throughput scales automatically as capacity grows. Amazon EFS is well suited to support many use cases, from home directories to business-critical applications. Use cases include storage for serverless and containerized applications, web serving big, data analytics and content management, application development and testing, media and entertainment workflows, and database backups.
Drop a query if you have any questions regarding Amazon EFS and we will get back to you quickly.
Making IT Networks Enterprise-ready – Cloud Management Services
- Accelerated cloud migration
- End-to-end view of the cloud environment
About CloudThat
CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.
CloudThat is the first Indian Company to win the prestigious Microsoft Partner 2024 Award and is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 850k+ professionals in 600+ cloud certifications and completed 500+ consulting projects globally, CloudThat is an official AWS Advanced Consulting Partner, Microsoft Gold Partner, AWS Training Partner, AWS Migration Partner, AWS Data and Analytics Partner, AWS DevOps Competency Partner, AWS GenAI Competency Partner, Amazon QuickSight Service Delivery Partner, Amazon EKS Service Delivery Partner, AWS Microsoft Workload Partners, Amazon EC2 Service Delivery Partner, Amazon ECS Service Delivery Partner, AWS Glue Service Delivery Partner, Amazon Redshift Service Delivery Partner, AWS Control Tower Service Delivery Partner, AWS WAF Service Delivery Partner, Amazon CloudFront Service Delivery Partner, Amazon OpenSearch Service Delivery Partner, AWS DMS Service Delivery Partner, AWS Systems Manager Service Delivery Partner, Amazon RDS Service Delivery Partner, AWS CloudFormation Service Delivery Partner, AWS Config, Amazon EMR and many more.
FAQs
1. How many Amazon EC2 instances can connect to an Amazon EFS?
ANS: – Amazon EFS supports one to thousands of Amazon EC2 instances connecting to an Amazon EFS concurrently.
2. Can I concurrently access my Amazon EFS file system from my on-premises servers and Amazon EC2 instances?
ANS: – Yes, You can access your Amazon EFS file system concurrently from servers in your on-premises and Amazon EC2 instances in your Amazon VPC.
3. Can Amazon EFS data be transferred across regions?
ANS: – You can use the AWS DataSync service to transfer files between two Amazon EFS file systems, including ones in different AWS regions. AWS Transfer Family endpoints must be in the same Region as your Amazon EFS file system.

WRITTEN BY Mayank Bharawa
Comments