EBS Flashcards
EBS
Block level storage volumes for use with EC2 instances.
What is EBS suited for?
Well-suited for use as the primary storage for file systems, databases, or for any applications that require fine granular updates and access to raw, unformatted, block-level storage.
Well-suited to both database-style applications (random reads and writes), and to throughput-intensive applications (long, continuous reads and writes).
True/False. Termination protection is turned off by default and must be manually enabled (keeps the volume/data when the instance is terminated)
True.
How many EBS volumes can you have by default?
5,000
How many EBS snapshots can you have by default?
10,000
What are the different storage options for EBS?
Different types of storage options:
-General Purpose SSD (gp2,gp3), Provisioned IOPS SSD (io1,io2)
-Throughput Optimized HDD (st1)
-Cold HDD (sc1) volumes up to 16 TiB in size or 64TiB for io2 Block Express.
True/False. You cannot mount multiple volumes on the same instance.
False. You can mount multiple volumes on the same instance.
True/False. You cannot mount a Provisioned IOPS to multiple instances at a time.
False. Uou can mount a Provisioned IOPS volume to multiple instances at a time using Amazon EBS Multi-Attach.
Multi-Attach on EBS Provisioned IOPS io 1 volumes to allow a single volume to be concurrently attached to how many Nitro System-based Amazon EC2 instances within the same AZ?
Up to 16.
Can EBS volumes be encrypted?
You can use encrypted EBS volumes to meet data-at-rest encryption requirements for regulated/audited data and applications.
What kind of snapshots can you create with EBS and where are they stored? Can snapshots be copied across Regions?
You can create point-in-time snapshots of EBS volumes, which are persisted to Amazon S3. Similar to AMIs. Snapshots can be copied across AWS regions.
Where are volumes created and where can they be attached?
Created in a specific AZ and can be attached to any instance in that same AZ.
How can you make volumes accessible outside of its AZ?
Create a snapshot and restore that snapshot to a new volume anywhere in that region.
How can you move volumes to other regions?
Take a snapshot of the volume, copy the snapshot to other regions and then restore it to new volumes there, making it easier to leverage multiple AWS regions for geographical expansion, data center migration, and disaster recovery.
How can you detach an EBS volume from an instance?
Explicitly or by terminating the instance.
How do you detach an EBS volume from a running instance?
You must first unmount the volume from the instance.
True/False. If an EBS volume is the root device of an instance, you must stop the instance before you can detach the volume.
True.
How can you backup EBS volumes?
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 remove the latency of I/O operations when restoring EBS snapshots?
EBS fast snapshot restore allows you to create a volume from a snapshot that is fully initialized. This removes the latency of I/O operations on the block when accessed for the first time.
What type of EBS volumes are there?
-General Purpose SSD (gp3)
-General Purpose SSD (gp2)
-Provisioned IOPS SSD (io1/io2)
-Throughput Optimized HDD (st1)
-Cold HDD (sc1)
General Purpose SSD (gp3)
-Delivers a consistent baseline rate of 3,000 IOPS and 125 MiB/s. You can provision additional IOPS (up to 16,000) and throughput (up to 1,000 MiB/s) for an additional cost.
-The maximum ratio of provisioned IOPS to provisioned volume size is 500 IOPS per GiB. The maximum ratio of provisioned throughput to provisioned IOPS is .25 MiB/s per IOPS.
General Purpose SSD (gp2)
-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.
-The burst duration of a volume is dependent on the size of the volume, the burst IOPS required, and the credit balance when the burst begins. Burst IO duration is computed using the following formula:
–If your gp2 volume uses all of its I/O credit balance, the maximum IOPS performance of the volume remains at the baseline IOPS performance level and the volume’s maximum throughput is reduced to the baseline IOPS multiplied by the maximum I/O size.
–Throughput for a gp2 volume can be calculated using the following formula, up to the throughput limit of 160 MiB/s:
Provisioned IOPS SSD (io1/io2)
-Designed for I/O-intensive workloads, particularly database workloads, which are sensitive to storage performance and consistency.
-Allows you to specify a consistent IOPS rate when you create the volume
-EBS Provisioned IOPS io2 features higher durability of 99.999%, and supports provisioning 500 IOPS for every provisioned GB. EBS io2 has 100x better volume durability and a 10x higher IOPS to storage ratio than io1, for the same price as io1.
Throughput Optimized HDD (st1)
-Low-cost magnetic storage that focuses on throughput rather than IOPS.
-Throughput of up to 500 MiB/s.
-Subject to throughput and throughput-credit caps, the available throughput of an st1 volume is expressed by the following formula:
Cold HDD (sc1)
-Low-cost magnetic storage that focuses on throughput rather than IOPS.
-Throughput of up to 250 MiB/s.
True/False. Data stored at rest on an encrypted volume and disk I/O, are encrypted, but snapshots are not.
False. Data stored at rest on an encrypted volume, disk I/O, and snapshots created from it are all encrypted.