AWS EFS | Amazon Elastic File System | AWS Training | AWS EC2 Storage Tutorial

Опубликовано: 18 Июль 2026
на канале: Funnel Garden
181
1

AWS EFS Tutorial that covers installing EFS and access from 2 different EC2's from different Availability Zones (AZ's)

Steps:

create Security Group for both EC2s
SSH from my port
create Security Group for EFS
NFS port 2049
inbound - only from SG for EC2

create EFS
select all Availability Zones
use SG for EFS
launch EC1 - Availability Zone 1 (AZ1)
launch EC2 - Availability Zone 2 (AZ2)

mount EFS on EC2-1
use instructions from EFS dashboard
check EFS mounted
mount -t nfs4
mount | grep nfs
create test file on EFS

mount EFS on EC2-2
use instructions from EFS dashboard
check EFS mounted
mount -t nfs4
mount | grep nfs
update test file written by EC2-1

from EC1, check for update from EC2

clean up
unmount EFS from EC1
sudo umount /efs
unmount EFS from EC2
sudo umount /efs
delete EFS
terminate EC2-1, EC2-2

More tutorials at https://funnelgarden.com