Choose between EBS volume types for a database needing 10,000 IOPS consistently.
IntermediateScenarioEC2, Auto Scaling and Load Balancing
Answer
Situation read → gp3 for most; io2 when sustained high IOPS and durability matter.
What I'd do →
- gp3 lets you provision IOPS (up to 16,000) and throughput independent of size
- io2 Block Express goes to 256,000 IOPS with 99.999 percent durability
- Check the instance limit too, since EBS-optimized bandwidth caps
- Modify live:
aws ec2 modify-volume --volume-id vol-0abc --volume-type gp3 --iops 10000
Why → gp3 is about 20 percent cheaper than gp2 and decouples performance from size.
Interview tip → Mention instance-level EBS throughput as a hidden cap.