How to create EFS storage in AWS

Hi viewers!!! in this tutorial I will show you how you can setup the EFS (Elastic File System) on AWS and then mount on your Linux machine. So let start I have also made a video tutorial on how to setup the EFS volume so please watch that also......

So first of all What is the EFS and What are the benefits of having EFS in AWS?

Here is the answer : Amazon EFS is a fully-managed service that makes it easy to set up, scale, and cost-optimize file storage in the Amazon Cloud. 

Amazon EFS file systems can automatically scale from gigabytes to petabytes of data without needing to provision storage. Tens, hundreds, or even thousands of Amazon EC2 instances can access an Amazon EFS file system at the same time, and Amazon EFS provides consistent performance to each Amazon EC2 instance. Amazon EFS is designed to be highly durable and highly available. With Amazon EFS, there is no minimum fee or setup costs, and you pay only for what you use.

All EFS file systems, regardless of size, can burst to 100 MiB/s of throughput. File systems with more than 1 TiB of Standard storage can burst to 100 MiB/s per TiB of data stored on EFS Standard. If you require higher amounts of throughput to EFS IA than your file system allows, use EFS Provisioned Throughput.

The above picture gives us a clue about how that work in AWS environment. 
Below in the picture you can find out the how it works and what steps are need to be perform 
Amazon EFS - How it works
Image source: AWS site.

Here is the video tutorial where I show all the steps to configure and mount the EFS storage on CentOS and you can also follow this article to see the steps by steps procedures to setup EFS for Amazon Linux OS.


Steps
  1. First log into your aws account and search for EFS or select the service and from there choose the EFS services as showing below.

  1. Once you click on EFS option you will see the below screen shot.
  1. Now here you need to click on the Create file system but before that Very Important: Please don’t skip this step otherwise you may be not able to mount your EFS system on machine. So what we need to do is first create your own security group by going to EC2->Security Group ->Create a New Security Group and the following rules as showing below 

Please change the source field as per your network subnet or you can use 0.0.0.0/0 if you want to all traffic from anywhere. 

  1. So in the create the file system wizard first step is “Configure the Network Access” here in this steps you need to select your VPC for which you want to create the EFS and also you need to select the subnets of the VPC, you can select all the subnets of the VPC or any specific subnet here also. And the last one is you need to select the security group and this is very important step here choose the security group that we have created for EFS storage do not use the Default one. Please see the below picture 

C:\Users\admin\AppData\Local\Temp\SNAGHTML5cd57dd.PNG

  1. In next step we need to “Configure the system settings” so in this step you need to configure the tag, lifecycle management, choosing throughput mode, choosing performance mode and enable the encryption setting. We have chosen the default one you can choose as per your requirement. All these option are self-explanatory you can read more about these option in the snapshot given below 

  1. In next step we need to configure the “Client Access” we leave this section as default for this tutorial however you can make the changes as per your requirement.

  1. At last we need to review the settings and click on “Create File System”
C:\Users\admin\AppData\Local\Temp\SNAGHTML5eb3791.PNG

  1. Once click on the Create File System the next screen show that the file system is successfully created but wait here you cannot mount the EFS as yet since the “mount target point” is under creating mode so we have to wait until the “mount target point” show “Available”.  Please see the below screenshots

Okay that’s it we have setup our first EFS in AWS successfully now let’s configure the client machine. I’m using the Amazon linux machine. 
  1. So first you need to ssh into your linux machine and then run the following command 
  1. Now let’s wait till the system install the require packages 

  1. Now create a directory where we can mount our new EFS system. I have created a directory name “efs” in the root directory of system. 

  1. Now mount the EFS storage on your local machine

  1. Now let’s check the EFS is properly mounted or not

Wow!!! That’s it we have done it…… one more tip if you need to mount the EFS storage on Ubuntu, CentOS or RED Hat Linux then please install the nfs-utils package on these system as showing below 

And thanks again!!!  to visit my blog again please feel free to leave any comment or contact us if you have any queries.








Share:

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

WELCOME TEXT

Welcome !!! viewers and thank you to visit my blog noteoftech this blog will help you to find the resolution of many tech related issue and also very useful tech related tutorial. So please don't forget to visit my blog on daily basis...and please bookmark this page also. So enjoy this blog and have a nice day!!!!.

About Me

Find Us On Youtube

Hi viewers!!! you can find other useful tech tutorial on our Youtube Channel KonwItFree Please click below to visit our channel

Popular Posts

Powered by Blogger.

Recent Posts

PAGES

Archive

Labels

AWS (7) CCNA (2) CCNP (2) cisco (2) Cyberoam (1) eve-ng (2) Firewall (5) googlecloud (3) Juniper (1) MACOS (1) Mint OS (2) Openldap (5) oraclecloud (6) other (15) pfsense (5) securecrt (1) Sophos (3) Ubuntu (9) Vmware (9) VPN (1) Window (5) Window10 (9) WIndow7 (4) WinServer (2) WinXP (1) xubuntu (2)

Labels