Storage Flashcards
Types of EBS Volumes are there?
Solid-State Drives (SSD):
General Purpose SSD (gp2)
Provisioned IOPS SSD (io1)
Hard Disk Drives (HDD):
Throughput Optimized HDD (st1)
Cold HDD (sc1)
What are the use cases for General Purpose SSD (gp2)
- Recommended for most workloads
- System boot volumes
- Virtual desktops
- Low-latency interactive apps
- Development and test environments
What are the use cases for Provisioned IOPS SSD (io1)
- Critical business applications that require sustained IOPS performance, or more than 16,000 IOPS or 250 MiB/s of throughput per volume. When attached to Nitro system EC2 instances, peak performance can go up to 64,000 IOPS and 1,000 MB/s of throughput per volume.
- Large database workloads.
What are the use cases for Throughput Optimized HDD (st1) and Cold HDD (sc1)
Throughput Optimized HDD (st1):
- Streaming workloads requiring consistent, fast throughput at a low price
- Big data
- Data warehouse
- Log processing
- Cannot be a boot volume
Cold HDD (sc1):
- Throughput-oriented storage for large volumes of data that is infrequently accessed
- Scenarios where the lowest storage cost is important
- Cannot be a boot volume
Some of the features of EBS are:
- mount multiple volumes on same instance
- can encrypt
- can create point in time snapshots, persisted to Amazon S3, similar to AMI.
How can you make an EBS volume available outside of the AZ? or another region or account
- you can create a snapshot and restore that snapshot to a new volume anywhere in that region.
- You can copy snapshots to other regions and then restore them to new volumes there, making it easier to leverage multiple AWS regions for geographical expansion, data center migration, and disaster
- You can share a snapshot across AWS accounts by modifying its access permissions. recovery.
Performance metrics, such as xx, xx, xx, and average xx length, provided by Amazon CloudWatch, allow you to monitor the performance of your volumes to make sure that you are providing enough performance for your applications without paying for resources you don’t need.
Performance metrics, such as bandwidth, throughput, latency, and average queue length, provided by Amazon CloudWatch, allow you to monitor the performance of your volumes to make sure that you are providing enough performance for your applications without paying for resources you don’t need.
Which tool to use for backing up of EBS volumes
Use AWS Backup, an automated and centralized backup service, to protect EBS volumes and your other AWS resources. AWS Backup is integrated with Amazon DynamoDB, Amazon EBS, Amazon RDS, Amazon EFS, and AWS Storage Gateway to give you a fully managed AWS backup solution.
With AWS Backup, you can configure backups for EBS volumes, automate backup scheduling, set retention policies, and monitor backup and restore activity.
How do you detach an EBS volume from EC2 instance?
- You can detach an EBS volume from an instance explicitly or by terminating the instance. However, if the instance is running, you must first unmount the volume from the instance.
- If an EBS volume is the root device of an instance, you must stop the instance before you can detach the volume.
How do you backup EBS volumes?
- Back up the data on your EBS volumes to S3 by taking point-in-time snapshots.
- Snapshots are incremental backups, which means that only the blocks on the device that have changed after your most recent snapshot are saved. This minimizes the time required to create the snapshot and saves on storage costs by not duplicating data.
What are some of the limitations of EBS snapshots?
- User-defined tags are not copied from the source snapshot to the new snapshot.
- Snapshots are constrained to the Region in which they were created. To share a snapshot with another Region, copy the snapshot to that Region.
- Snapshots that you intend to share must instead be encrypted with a custom CMK.
How are you charged for EBS volumes?
- You are charged by the amount you provision in GB per month until you release the storage.
- Provisioned storage for gp2 volumes, provisioned storage and provisioned IOPS for io1 volumes, provisioned storage for st1 and sc1 volumes will be billed in per-second increments, with a 60 second minimum.
- With Provisioned IOPS SSD (io1) volumes, you are also charged by the amount you provision in IOPS per month.
- After you detach a volume, you are still charged for volume storage as long as the storage amount exceeds the limit of the AWS Free Tier. You must delete a volume to avoid incurring further charges.
Are you charged for EBS snapshot storage? Does copying it to a new region incur additional costs?
- Snapshot storage is based on the amount of space your data consumes in Amazon S3.
- Copying a snapshot to a new Region does incur new storage costs.
On general purpose SSD (gp2) what it the max IOS and MB/s of throughput supported?
- Base performance of 3 IOPS/GiB, with the ability to burst to 3,000 IOPS for extended periods of time.
- Support up to 16,000 IOPS and 250 MB/s of throughput.
On throughput Optimized HDD (st1) what is the max throughput
◦ Low-cost magnetic storage that focuses on throughput rather than IOPS.
◦ Throughput of up to 500 MiB/s.
What are the key differences between EBS and EFS in terms of Availability and durability, Access, Use cases
Amazon EFS:
Availability and durability
Data is stored redundantly across multiple AZs.
Access
Up to thousands of EC2 instances, from multiple AZs, can connect concurrently to a file system.
Use cases
Big data and analytics, media processing workflows, content management, web serving, and home directories.
Amazon EBS Provisioned IOPS
Data is stored redundantly in a single AZ.
A single EC2 instance in a single AZ can connect to a file system.
Boot volumes, transactional and NoSQL databases, data warehousing, and ETL.
Fill in the blanks:
Amazon xxx Infrequent Access (xxx IA) is a new storage class for Amazon xxx that is cost-optimized for files that are accessed less frequently. Customers can use xxx IA by creating a new file system and enabling Lifecycle Management. With Lifecycle Management enabled, xxx automatically will move files that have not been accessed for 30 days from the Standard storage class to the Infrequent Access storage class.
Amazon EFS Infrequent Access (EFS IA) is a new storage class for Amazon EFS that is cost-optimized for files that are accessed less frequently. Customers can use EFS IA by creating a new file system and enabling Lifecycle Management. With Lifecycle Management enabled, EFS automatically will move files that have not been accessed for 30 days from the Standard storage class to the Infrequent Access storage class.
How can data be moved between on premise storage and Amazon EFS
Moving your EFS file data can be managed simply with AWS DataSync – a managed data transfer service that makes it faster and simpler to move data between on-premises storage and Amazon EFS.
What are the main advantages of using EFS ?
EFS file systems store data and metadata across multiple Availability Zones in an AWS Region.
Multiple Amazon EC2 instances can access an EFS file system at the same time, providing a common data source for workloads and applications running on more than one instance or server.
EFS file systems can grow to petabyte scale, drive high levels of throughput, and allow massively parallel access from EC2 instances to your data.
What is POSIX?
Portable Operating System Interface, and is an IEEE standard designed to facilitate application portability.
How can EFS be backed up?
You can schedule automatic incremental backups of your EFS file system using the EFS-to-EFS Backup solution.
What are the performance modes of EFS?
General purpose performance mode (default)
◦ Ideal for latency-sensitive use cases.
Max I/O mode
◦ Can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for file operations.
What are the throughput modes of EFS?
Bursting Throughput mode (default)
◦ Throughput scales as your file system grows.
Provisioned Throughput mode
◦ You specify the throughput of your file system independent of the amount of data stored.
In EFS whats the best way to automatically move files into EFS infrequent access (EFS IA) storage class to save cost?
You can choose from four EFS Lifecycle Management policies (14, 30, 60, or 90 days) to automatically move files into the EFS Infrequent Access (EFS IA) storage class and save up to 85% in cost.