EBS Service Deep Dive
Categories:
Use this as a fast expert note. EBS is not just “disk for EC2.” It is the main block-storage model in AWS and is central to understanding host-attached state, performance tuning, and zonal storage tradeoffs.
1. Service Identity
| Field | Notes |
|---|---|
| Service name | EBS |
| Family | Storage |
| Primary purpose | Provide persistent block storage attached to EC2 instances |
| Abstraction model | Managed block volume |
| Management model | Managed |
| State model | Durable block-level storage attached to compute |
| Scope | Primarily zonal attachment model |
| Closest AWS alternatives | instance store, EFS, S3, on-prem SAN-like storage patterns |
2. Default Fit And Non-Fit
- Right default when an EC2-based workload needs low-latency block storage.
- Strong fit for boot disks, application volumes, and relational or stateful systems that run on EC2.
- Dangerous default when teams use it for shared-file or object-style needs.
- Wrong default when the workload needs multi-node shared POSIX access or simple regional object durability.
3. Key Design Drivers
- volume type and performance model
- attachment pattern and failure scope
- snapshot and restore expectations
- cost vs IOPS/throughput tuning
- EC2 dependency and zonal placement
4. Failure And Cost Notes
- Main failure mode: workloads assume regional simplicity while relying on zonal attached storage.
- Main cost driver: provisioned volume size, performance tier, snapshots, and overprovisioned IOPS.
- Main anti-pattern: treating EBS like a generic shared storage layer.
5. Expert Warnings
- Do not choose EBS when many nodes need shared file access.
- Do not ignore zonal failure and attachment implications.
- Do not tune volume performance blindly without workload data.
- Do not mistake snapshots for a tested recovery strategy.