Storage - EFS Flashcards
What type of storage?
Supports NFSv4, POSIX-complaint file storage for EC2 instances
What are some EFS features?
file system interface; strong consistency reads, and accessible from multiple EC2 instances
Max storage size
unlimited system size. same as S3, but larger than EBS
Max file size
47.9 TiB for a single file. Larger than S3
Performance (lantency)
low, consistentet; use Max I/O mode for higher performance; ideal for latency sensitive use cases
Performance (throughput)
10+ Gbps, higher than S3 and EBS
Durability
Stored redundantly across multiple AZs, better than S3s EBSs single AZ, but less durability than S3
Availability
Multi-AZ, 99.9%, about the same but not at good as S3, but slightly better than EBS
Scalability
EFS files are elastic and automatically grow and shrink as you add an remove files
Data accessability
One to thousands of EC2 instances or on premise servers have access from multiple AZs and VPNs. Better than EBS, but not as strong as S3
Access Control
Only mount targets have access to a file system; POSIX-complaint and group-level permissions. S3 and EBS use IAM and bucket policies.
Encryption
Data a rest with AWS KMS and data in transit with TLS
Pricing
Per month bill for file storage used and when using provisioned throughput mode, you pay throughput per month.
Use cases
Web serving, content management, enterprise applications, media and entertainment, home directories, database backups, developer tools and containment storage.
Service endpoint
accessed with one’s VPN, same as EBS, but different as S3 can be accessed outside of the VPC.
EC2 Access?
Multiple EC2 instances can access an EFS at the same time.
How can data be migrated to EFS?
Using AWS datasync between on-premise to EFS
How to schedule backups?
incremental backup scheduling with EFS-to-EFS backup solution
Is there an infrequent storage option?
Amazon EFS Infrequent Access can transfer file that have not been accessed in more than 30 days using LCM.
What is a mount target?
provided an IP address for a NFSv4 endpoint; can create one mount target in each AZ; mount file system using its DNS which will resolve to the IP address of the EFS mount target
Why EFS over S3 and EBS?
Low and consistent latency better than S3, same as EBS, better throughput and durability than EBS; access is better than EBS; host a multitude of use cases