Posted On: Feb 21, 2023

Torn Write Prevention (TWP) is a feature that ensures 16KiB write operations are not torn in the event of operating system crashes or power loss during write transactions. Starting today, this feature is available for AWS customers using instance store on AWS Nitro SSD based EC2 Im4gn and Is4gen storage optimized instances, and in additional Amazon Elastic Block Store (EBS) regions, a block storage service, when attached to all EC2 Nitro-based instances.

TWP enables customers running databases such as MySQL or MariaDB on EC2, EBS, and managed services like Amazon RDS, to turn off the double write operation, thereby accelerating database performance Transactions per Second (TPS) without compromising the resiliency of their workloads. 

For customers using AWS EC2 I4i, Im4gn and Is4gen instances, they can use TWP in the regions where those instances are available. For customers with EBS volumes attached to Nitro instances, TWP is available in all public AWS Regions, including the AWS GovCloud (US) Regions and AWS China Regions. For more information on Amazon EC2 storage optimized instances, visit here. For more information on Amazon EBS, visit here. For more information on how to use TWP, see our documentation.