Cloud Services

Amazon EFS: How to create an Elastic File System?

In this infrastructure with autoscaling, the code is not synchronized; it is shared. This requires an Elastic File System (EFS), which we will create in the following tutorial. The creation and configuration of Amazon EFS are needed to share the document root of WordPress without the need for continuous synchronizations. The data should be the same in all the instances of autoscaling. Keep on reading to find out how to create EFS in AWS.

Remember this is just the 4th Part of our sequence of How to create a High-Performance WordPress with Autoscaling on AWS.

Step by Step on How to Create EFS in AWS

Requirements:

  • An account on AWS

Step by step:

1. Login on the AWS account.
2. Verify the region in which the infrastructure will be created. In the upper right corner, click on the button with the city name and choose the region, in this case, it will be Virginia.

3.  Select the Amazon EFS service.

4. Click on “Create file system”.

5. Select the VPC and the private subnet. Press “Next Step”.

6. Assign a name to the EFS and choose the performance mode, it is recommended to keep the value by default. Then, press “Next Step”.

7. Review the configurations and create the EFS.

8. Verify the correct creation of the amazon EFS.

*Note: Verify in the Security Group, that the value of the origin (source) of the traffic is the private network or 0.0.0.0/0.

  1. Connect to the instance via SSH.
  2. Mount EFS in the instance.

a) Click on “Amazon EC2 mount instructions”.

Follow the instructions shown.

The results of this test are as follows:

  • Writing a 500 Mb file in the EFS took 4.74519 seconds with a speed of 100 Mb / s.
  • In a local directory, writing the same file took 7.34338 seconds with a speed of 71.4 Mb / s.

This means that the I/O of the EFS is faster than a local directory.

And that’s it! Those are all the steps that you need to follow to create an Elastic Fyle System. Remember that the objective of this tutorial is to create a high-performance and Auto-scalable WordPress. Do not forget to go to see the whole process and the other tutorials we have prepared for you.

FAQS

What is AWS EFS used for?

AWS EFS (Amazon Elastic File System) is used for providing scalable and fully managed file storage for EC2 instances and other AWS services, enabling multiple instances to access a shared file system simultaneously.

What is the difference between S3 and EFS?

Amazon S3 is an object storage service for storing and retrieving data via HTTP/HTTPS, while Amazon EFS is a file storage service providing scalable file storage accessible via NFS for shared access among multiple EC2 instances.

Which is more expensive EFS or S3?

In general, Amazon EFS (Elastic File System) tends to be more expensive than Amazon S3 (Simple Storage Service) for storing data, primarily due to the differences in storage types and access methods.

Recent Posts

Benefits of Migrating to AWS Mexico Region

AWS launched a data center in Mexico. This new region, based in Querétaro with three…

6 days ago

Best Remote AI Companies to Work For In 2025

Most job seekers I talked to recently are searching for the best remote AI companies…

7 days ago

Best Data Analytics Tools by Industry: Top Picks for 2025

In 2025, organizations are making smarter business decisions that drive true revenue. And it’s all…

2 weeks ago

The Best 10 GenAI Tools for CTOs in 2025

GenAI tools are revolutionizing the tech landscape, enabling CTOs to enhance software development, security, observability,…

3 weeks ago

AWS Mexico Data Center Launch: A New Era for Cloud Growth

AWS has officially launched its new Data Center in Querétaro, Mexico​. This AWS Mexico data…

3 weeks ago

AWS Migration to IaC & Well-Architected Framework Implementation

One of our recent collaborations was with a recording studio company in London, where we…

4 weeks ago