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.