EFS (Elastic File System)
- Provides simple, scalable file storage.
- With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it.
Elastic file systems
- These are distributed across an unconstrained number of storage servers, enabling file systems to grow elastically to petabyte scale and allowing massively parallel access from Amazon EC2 instances to your data.
- This distributed data storage design means that multi-threaded applications and applications that concurrently access data from multiple instances can drive substantial level of aggregate throughput and IOPS.
- Amazon EFS data is distributed across multiple availability zones providing high level of durability and availability.
Amazon EFS use cases
- Big data and analytics
- Media processing workflows
- Content management and web serving
- Home directories
EFS: How it works?
- The VPC has three Availability Zones, and each has one mount target created in it.
- Creating this setup works as follows :
○Create your EC2 resources and launch your EC2 instance.
○Create your EFS file system.
○Connect to your EC2 instance, and mount the EFS file system.
- Both an Amazon EC2 instance and a mount target have associated security groups which act as a virtual firewall that controls the traffic between them.
- The security groups you associate with a mount target must allow inbound access for the TCP protocol on the NFS port from all EC2 instances on which you want to mount the file system.
Managing EFS file systems
File system management tasks refer to creating and deleting file systems, managing tags, and managing network accessibility of an existing file system.
- Managing network accessibility is about creating and managing mount targets.
- Automated monitoring tools
○Amazon CloudWatch Alarms
○Amazon CloudWatch Logs
○Amazon CloudWatch Events
○AWS CloudTrail Log Monitoring
- Manual monitoring tools
○The current metered size, number of mount targets, and life cycle state from the EFS console
○Current alarms and status, graphs of alarms and resources, and service health status from CloudWatch home page.
Authentication for Amazon EFS
- AWS account root user
○You provide an email address and password that is associated with your AWS account when you sign up for AWS.
○This is your AWS account root user.
- IAM user
○Simply an identity within your AWS account that has specific custom permissions.
- IAM role
○It is another IAM identity that you can create in your account that has specific permissions.
○An IAM role enables you to obtain temporary access keys that can be used to access AWS services and resources.
- Amazon EFS provides a file system interface which provides concurrently accessible storage upto thousands of Amazon EC2 instances.
- Amazon EBS can deliver performance for workloads that require low latency access to data from a single EC2 instances.
- Amazon S3 makes data available through an internet API that can be accessed anywhere.