EC2 Instance Storage Flashcards
An __________ is a network drive you can attach to your instance while they run and at the associate level it can have multi-attach feature & it’s bond to a specific availability zone
EBS Volume
What are some features of EBS Volume?
- It uses the network to communicate the instance, which means there might be a bit of latency
- It can be detached from an EC2 instance and attached to another one quickly
- It’s locked to one availablity zone so can be used in another one unless you use a snapshot
- Have a provisioned capacity
The ____________ controls the EBS behavior when an EC2 instance terminates and by default the root EBS volume is deleted (when attribute is enabled) and by default any other attached EBS volume is not deleted (when attribute disable)
Delete on termination attribute (it’s used to preserve root volume when instance is terminated)
________ is a backup of your EBS volume at a point in time & can copy them across AZ or regions
EBS snapshots
What are some features of EBS snapshots?
- EBS snapshots are archive (move a snapshot to an archive tier that is 75% cheaper)
- Can use a recycle bin for EBS snapshots (setup rules to retain deleted snapshots so you can recover them after an accidental deletion)(from 1 day to 1 year)
- Has fast snapshot restore (FSR) ( force full initialization of snapshots to have no latency on the first use )
_______ are a customization of an EC2 instance
AMI (Amazon machine image)
AMI are built for a specific ________
Region (and can be copied across regions)
What are the different AMI you can launch your instance from?
- Public AMI (AWS provided)
- Your own AMI (you make & maintain them yourself)
- An AWS marketplace AMI (an AMI someone else made & potentially sells)
What is the AMI process from an EC2 instance?
- Start an EC2 instance and customize it
- Stop the instance (for data integrity)
- Build an AMI (which will also create EBS snapshots)
- Launch instance from other AMIs
EBS volumes are __________ with good but limited performance
EBS volumes
If you need a high performance hardware disk use ___________
EC2 instance store
What are some features of EC2 instance store?
- Better I/O performance
- EC2 instance Store lose their storage if they’re stopped (ephemeral)
- Risk of data loss if hardware fails
- Your responsible for backups and replications
- Use case for buffer /cache / scratch data / temporary content
What are the 6 different types of EBS volumes?
- gp2/gp3 (SSD) : general purpose SSD volume that balances price and performance for a wide variety of workloads
- io1/ io2 block express (SSD): highest performance SSD volume for mission critical low latency or high throughput workloads
- st l (HDD): low cost HDD volume designed for frequently accessed throughput intensive workloads
- sc1 (HDD): lowest cost HDD volume designed for less frequent access workloads
What are some features of the EBS volume types?
- EBS volumes are characterized in size | throughout | IOPS (I/O ops per sec)
- Only gp2/gp3 and io 1/ io2 block express can be used as boot volumes
What are some features of the general purpose SSD EBS volumes?
- Cost effective storage, low latency
- System boot volumes, virtual Desktops, development and test environments
- I GiB - 16 TiB
- gp3: baseline of 3,000 IOPS and throughput of 125 MiB/s & can increase IOPS up to 16,000 and throughput up to 1000 MiB/s independently
- gp2: small gp2 volume can burst IOPS to 3,000, size of them volume and IOPS are linked, max IOPS is 16,000, 3 IOPS per GB which means at 5,334 GB we are at the max IOPS