By rrajesh on Aug 21, 2008
How to use EBS with OpenSolaris AMI
Today Amazon Web Services announced the availability of the most awaited feature of Persistent Storage (officially called as Elastic Block Storage) on Amazon EC2 cloud. And, we are excited to announce that OpenSolaris does support creating ZFS file system on EBS. ZFS is the default file system in OpenSolaris and provides data integrity by 128-bit checksumming and has Rollback features to roll back any changes in the file system to a previous consistent state.
For detailed information on using EBS with the OpenSolaris AMI, please refer the document "Using EBS with OpenSolaris AMI"
As an EC2 user, you probably know, running database servers on EC2 instances required you to put together mechanisms to backup the databases since the local storage wasn't persistent and would go away once the instances were shutdown or crashed. EBS solves this problem and provides local persistent storage which can be attached the running instances for database servers such as MySQL. Since MySQL is the most popular open source database server on EC2, it stands to benefit the most from EBS. Here's a link to Amazon Web services article on benefits of using EBS for MySQL. One of the benefits that I would like to highlight is:
Improved performance - Early reports from studies on EBS disk IO performance indicate that EBS IO rates can be multiple times faster than ephemeral storage and even local disk IO. This has obvious benefits for databases which are often IO bound.
Since, EBS provides capability to create file systems on the volumes, users can now take advantage of ZFS on EBS and you may get improved performance for certain workloads and database sizes. Here is an interesting article on MySQL and ZFS and performance comparison of ZFS Vs UFS file system (I think its OK to assume, ext3 will be comparable to UFS and hence these numbers may be a good comparison between Ext3 file system and ZFS
I am sure you'll find EBS feature useful and even better take advantages of ZFS on EBS. If you have any feedback or comments, as always, please send them to us via ec2-solaris-support [AT] SUN [DOT] COM.