Would you recommend mdadm raid10 for EC2?
Solution 1:
My understanding is that raid1 doubles the writes,but can speed up the reads a lot.
How large is your database and how fast can you make backups of it?
I also thought RAID0 (striping only) made it MORE likely you could have a problem,i.e. one volume is lost and its good bye data.
One of the unexpected I/O oddities of Ec2 EBS volumes, is the first time you write to your EBS disk, it takes like 2x longer, than any subsequent write. I do a disk fillup to 50% with just dd if=/dev/zero of=/newdisk/bigfile1 bs=1024m count=1024, then wipe the big files and afterwards writes take more normal speeds.
This is a good ec2 dev forum article on ec2 disk I/O specifics. https://forums.aws.amazon.com/thread.jspa?messageID=220860
and this says EBS disks are bad for raid10
Amazon EC2 Disk Performance | AF-Design Feb 27, 2009 ... If you have a high number of reads or writes, which you likely do .... Pingback: Amazon EC2 Disk Performance and Why RAID 10 is bad for EBS ... http://af-design.com/blog/2009/02/.../amazon-ec2-disk-performance/
Solution 2:
Found this nugget from a RightScale blog entry discussing EBS reliability:
From a practical point of view what this means is that you should expect the same type of reliability you get from a fully redundant RAID storage system. While it may be technically possible to increase the reliability by, for example, mirroring two EBS volumes in software on one instance, it is much more productive to rely on EBS directly. Focus your efforts on building a good snapshot strategy that ensures frequent and consistent snapshots, and build good scripts that allow you to recover from many types of failures using the snapshots and fresh instances and volumes.
source: http://blog.rightscale.com/2008/08/20/amazon-ebs-explained/