Articles → AWS → EFS (Elastic File System) In AWS
EFS (Elastic File System) In AWS
Purpose
Steps
- Launch 2 Linux EC2 instances
- Create a security group for EFS
- Create EFS
- Create a folder in both EC2 instances
- Download and install the EFS utility for Linux
- Mount the EFS folder
- Test EFS
Launch 2 Linux EC2 Instances
Create A Security Group For EFS
| Type | Value |
|---|
| Type | NFS |
| Protocol | TCP |
| Port range | 2049 |
| Source | Custom |
| < security group of EC2 instances > | |
Create EFS
Create A Folder In Both EC2 Instances
Download And Install The EFS Utility For Linux
sudo yum install -y amazon-efs-utils
Mount The EFS Folder
sudo mount -t efs fs-010314a8623bf9213 EFS/
- fs-010314a8623bf9213 is the File System Id
- EFS/ is the folder name
Test EFS
| Posted By - | Karan Gupta |
| |
| Posted On - | Wednesday, August 17, 2022 |