EBS Flashcards
What is EBS?
Elastic Block Store. Virtual disk in the cloud that protects you from failure of single components. Can run on EC2.
Requirement of attaching an EBS to EC2
They have to be in the same availability zone
What are the two EBS Volume Types
SSD Volumes and Magnetic Volumes
What are SSD volumes used for?
For transactional workloads, such as database and boot volumes (performance depends mostly on IOPS). Can read and write quickly. Small and random I/O operations.
What is a General Purpose EBS Volume?
(GP2) SSD Volume that balances both pricing and performance.
Ratio 3 IOPs per GB with up to 1000 IOPS and availability to burst up to 3000 IOPS for volumes of 334 GB and above.
What is a Provisioned IOPs EBS Volume?
(IO1) SSD Volume used for extreme performance I/O intensive apps (large relational or NoSQL DB).
Used for mission critical low-lateny or high throughput workloads. over 10000 IOPs.
Up to 20,000 IOPS per volume
What is a magnetic volume used for?
Very throughput intensive workloads (ex. MapReduce and log processing). For large datasets, large I/O and complex queries. As well as sequential workloads or streaming.
What is a Throughput HHD EBS Volume?
(STI) A HHD volume. Low cost designed for frequent access throughput intensive workloads.
Ex. Big Data, data warehouse, log processing.
CANNOT be a boot volume
What is a Cold HHD EBS Volume?
(SCI) Lowest cost storage for infrequent accessed workloads
Ex. File Server
CANNOT be a boot volume
What is a Magnetic EBS Volume
It is the standard HHD volume. Used for Legacy. It is the lowest cost per GB of all EBS volume types that IS BOOTABLE.
Good for workloads where data is accessed infrequently and for apps where lowest storage cost is important.
Two ways to encrypt root device volume?
1) Use OS system level encryption
2) Take a snapshot. Copy snapshot, then create image (go to AMI), and then click launch.
How can you increase the performance of a volume?
- You can stripe volumes together in a RAID 0 config
- Ensure that your EC2 instances are types that can be optimized for use with EBS
- Schedule snapshots of HDD based volumes for periods of low use
How to monitor EBS Volumes?
Cloudwatch
- Volume status checks
- Volume events
Max volume size
16 TiB
How to create incremental backups in EBS
Snapshots. But note snapshots are constrained to the region they are created. And shared snapshots must be encrypted with a CMK