EC2 - EC2 101 Part 2 Flashcards
What is EBS?
EBS allows you to create storage volumes and attach them to EC2 instances.
Once a volume is attached…
…you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device
EBS volumes are placed…
…in a specific AZ, where they are automatically replicated to protect you from the failure of a single component
single component?
storage array
EBS volume types
General Purpose SSD (GP2) Provisioned IOPS SSD (IO1) Throughput Optimized HDD (ST1) Cold HDD (SC1) Magnetic (Standard)
General Purpose SSD (GP2)
General purpose, balances both price and performance
Ratio of 3 IOPS per GB with up to 10K IOPS and the ability to burst up to 3000 IOPS for extended periods of time for volumes under 1 Gib
Provisioned IOPS SSD (IO1)
Designed for I/O intensive apps such as large relational or NoSQL databases
Use if you need more than 10K IOPS
Can provision up to 20K IOPS per volume
Highest-performance SSD volume designed for mission-critical applications
Throughput Optimized HDD (ST1)
Big data Data warehousing Log processing Sequential data Cannot be a boot volume
Cold HDD (SC1)
Lowest cost storage for infrequently accessed workloads
File Server
Cannot be boot volumes
Magnetic (Standard)
Lowest cost per GB of all EBS volumes types that is bootable.
Ideal for workloads where data is accessed infrequently, and apps where the lowest storage cost is important
Can you mount 1 EBS volume to multiple EC2 instances?
No, use EFS instead
General Purpose SSD (GP2) Use Cases
- Recommended for most workloads
- System boot volumes
- Virtual desktops
- Low-latency interactive apps
- Development and test environments
Provisioned IOPS SSD (IO1) Use Cases
-Critical business applications that require sustained IOPS performance, or more than 10,000 IOPS or 160 MiB/s of throughput per volume
-Large database workloads, such as:
MongoDB
Cassandra
Microsoft SQL Server
MySQL
PostgreSQL
Oracle
Throughput Optimized HDD (ST1) Use Cases
- Streaming workloads requiring consistent, fast throughput at a low price
- Big data
- Data warehouses
- Log processing
- Cannot be a boot volume
Cold HDD (SC1) Use Cases
- 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