Storage - EFS Storage Classes and Performance Options Flashcards
What are the two storage classes offered by Amazon EFS?
- Standard
- Infrequent Access (IA)
When is the Infrequent Access (IA) storage class typically used?
- When storing data that is rarely accessed
- Offers cost reduction on storage
How does the first-byte latency differ between Standard and Infrequent Access (IA)?
- IA has an increased first-byte latency impact compared to Standard
How are costs managed differently between Standard and Infrequent Access (IA)?
- IA is charged for the amount of storage space used
- IA is also charged for each read and write operation
What is EFS lifecycle management?
- Automatically moves data between Standard and IA storage classes
- Data is moved based on a configurable period of inactivity (14, 30, 60, or 90 days)
- Accessing a file resets the inactivity timer
Are both storage classes available in all EFS-supported regions?
- Yes, both Standard and IA storage classes are available in all regions
What are the two performance modes offered by EFS?
- General Purpose
- Max I/O
When is the General Purpose performance mode typically used?
- For most use cases, such as home directories and general file sharing
- Offers all-round performance and low latency
- Limited to 7,000 file system operations per second
When is the Max I/O performance mode used?
- For architectures with many thousands of concurrent EC2 instances
- Offers virtually unlimited throughput and IOPS
- May result in higher file operation latency compared to General Purpose
How can you determine the need for General Purpose or Max I/O performance mode?
- Run tests alongside your application
- If operations per second are comfortably below 7,000, use General Purpose
- If operations are expected to reach or exceed 7,000, use Max I/O
What are the two throughput modes offered by EFS?
- Bursting Throughput (default)
- Provisioned Throughput
How does Bursting Throughput mode work?
- Throughput scales as the file system grows
- Default burst capacity is 100 MiB/s (per tebibyte of storage)
- Burst duration depends on accumulated credits during low activity periods
When should Provisioned Throughput mode be used?
- When high throughput is required for small file systems
- Bursting Throughput may not be sufficient
- Incurs additional charges for bursting above the default option