EBS / EFS Flashcards
EBS SSD Volumes
Highly available & scaleable storage volumes you can attach to an EC2 instance
EBS GP2 - General Purpose SSD
Suitable for boot disks & and general purpose apps
Up to 16k IOPS per volume
Up to 99.99% durability
EBS GP3 - Provisioned IOPS SSD
Suitable for high performance apps
Predictable 3000 IOPS baseline performance & 125 MiB/s regardless of volume size
Up to 99.99% durability
EBS - IO1 Provisioned IOPS SSD
Suitable for OLTP & latency sensitive apps
50 IOPS /GiB
Up to 64,000 IOPs per volume
High Performance and most expensive
Up to 99.99% durability
EBS IO2 - Provisioned IoPs SSD
Suitable for OLTP and latency sensitive apps
500 IOPs / GiB
99.99% durability
Latest Gen Provisioned IOPs volume
EBS ST1 - throughput optimized HDD
Suitable for big data, data warehouses, ETL
Max Throughput of 500 MB/s per volume
Cannot be a boot volume
Up to 99.9% durability
EBS SC1 - cold HDD
Max throughput of 250 MB/s per volume
For less frequently accessed data
Cannot be a boot volume
Lowest cost
Up to 99.9% durability
What is the difference between a volume and a snapshot?
Volumes exist on EBS, snapshots exist in S3
How are snapshots used / snapshot characteristics
Snapshots are point in time photographs of volumes & are incremental in nature
Your first snapshot will take time to create for consistent snapshots stop the instance and detach the volume
Can you share snapshots?
Yes across regions and AWS accounts, but you do have to copy the snapshot to the region you’re sharing it with first
Can you change EBS volumes on the fly?
Yes, you can resize EBS volumes on the fly
You can also change the volume type eg go from gp2 to gp3
Instance Store Volumes
Called ephemeral storage
You can reboot the host and not lose data
Instance store volumes cannot be stopped. If your underlying host
By default the instance store root volumes will be deleted on termination
EBS Storage Limitations
You can reboot instances with EBS storage and not lose data
By default the root volume will be deleted upon terminating an instance
EBS volumes can be configured to keep the root device upon termination
EBS backed instances can be stopped and you will not lose data
Encryption with EBS
Data at rest is encrypted in the volume
All data inflight moving between instance and volume is encrypted
All snapshots of encrypted volumes are encrypted
All volumes created from an encrypted snapshot are encrypted
How to Create an Encrypted EBS volume?
Create a snapshot of an unencrypted EBS volume
Create a copy of the snapshot and select encrypt
Create an AMI from the encrypted snapshot
Use that AMI to launch new encrypted instances