• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Create AWS EFS and Mount on EC2 instance

{{postValue.id}}

Introduction:

Amazon Elastic File System is a cloud storage service provided by Amazon Web Services that is designed to provide scalable, elastic, concurrent with some restrictions and encrypted file storage for use with both AWS cloud services and on-premises resources. This tutorial will cover the configuration of EFS to mount on EC2 instance.

Configuration Steps:

Come to the AWS management Console and create the EC2 instance there snap1 Click on Instance and then go to Launch instance option: snap2 snap3 Choose and Amazon Machine Image(AMI) snap4 Configure instance details snap5 Configure security Group: snap6 This is the created instance: snap7 Launched instance snap8

Now go to all services page and select the EFS service in storage section snap9 Now create file system snap10 Customize all the Configuration according to your requirement snap11 Assign mount target here snap12 Created file system with Name Demo snap13 Now check the availability zone in security group snap14 Now to take control your EC2 instances using ssh from command prompt using the following command snap15 Install the amazon utils there using the following the command snap16 Now create a directory here name as efs snap18 Now using this command, we mount our file system in the efs directory snap17 snap19

Using the following command, I can see that efs mount has been completed snap20 Now create a file there and provide some content in that file snap21 snap22 snap23 Take ssh for another instance with the same method install the amazon utils there and create efs directory, and mount the efs with same command as before snap24 snap25 Now move into that efs directory So, when you list the file inside that directory you will find the file which i have created in another instance but with the help of EFS I can also get that here snap26

With this method configuration of EFS on EC2 instance comes to an end.

Tags:
nathencooke
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How many file systems can I create?

A

You can create up to 1,000 file systems per region. For information on Amazon EFS limits

Q

How do I manage a file system?

A

Amazon EFS is a fully-managed service, so all of the file storage infrastructure is managed for you. When you use Amazon EFS, you avoid the complexity of deploying and maintaining complex file system infrastructure. An Amazon EFS file system grows and shrinks automatically as you add and remove files, so you do not need to manage storage procurement or provisioning.

Q

What Amazon EC2 instance types and AMIs work with Amazon EFS?

A

Amazon EFS is compatible with all Linux-based AMIs for Amazon EC2. You can mix and match the instance types connected to a single file system.

Q

How do I access my file system from outside my VPC?

A

Amazon EC2 instances within your VPC can access your file system directly, and Amazon EC2 Classic instances outside
your VPC can mount a file system via ClassicLink.

Q

How many Amazon EC2 instances can connect to a file system?

A

Amazon EFS supports one to thousands of Amazon EC2 instances connecting to a file system concurrently.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.