- Newest
- Most votes
- Most comments
Based on your requirements for high disk read performance and data persistence, I would recommend using an EC2 instance type that supports Amazon EBS io2 Block Express volumes, combined with a Provisioned IOPS SSD (io2) volume.
Specifically, you might want to consider using one of the following instance types:
- r5b
- r6in
- r6idn
- x2idn
- x2iedn
These instance types are designed to work with io2 Block Express volumes, which can deliver up to 256,000 IOPS and 4,000 MB/s of throughput per volume. This should easily meet your requirement of achieving ~300 MiB/s or more in random reads.
For your storage configuration, I recommend using an io2 Block Express volume. These volumes are designed to provide consistent sub-millisecond latency and deliver the provisioned performance 99.9% of the time. They're ideal for I/O-intensive workloads like databases, offering both high performance and durability.
To meet your 200GB disk requirement, you could provision an io2 Block Express volume of that size. You can then adjust the IOPS as needed, up to a maximum of 256,000 IOPS for volumes 256 GiB and larger.
This combination of a compatible EC2 instance type and an io2 Block Express volume should provide you with the high disk read performance you're looking for, while also ensuring data persistence. The io2 Block Express volumes offer 99.999% durability, which should meet your durability requirements.
Remember to monitor your database performance and adjust the provisioned IOPS as needed to optimize for your specific workload. Also, ensure that your TimescaleDB configuration is optimized to take advantage of the available I/O performance.
Sources
Amazon EBS Provisioned IOPS Volume - Amazon Web Services
Amazon EBS volume types - Optimizing PostgreSQL Running on Amazon EC2 Using Amazon EBS
Amazon EBS-optimized instance types - Amazon Elastic Compute Cloud
Refer to https://aws.amazon.com/ebs/provisioned-iops/ for io1 vs io2 block express comparison. io2 block express has higher performance.
As for comparison with NVME, there are some figures at https://docs.aws.amazon.com/ec2/latest/instancetypes/so.html#so_instance-store. You can conduct your own disk benchmarks to evaluate performance
Relevant content
asked 4 years ago

What is the difference between io1 and io2? Do these volumes have lower or higher performance than ephemeral NVME?