Backup and restore options for SQL Server on Amazon EC2
Yogi Barot and Reghardt van Rooyen, Amazon Web Services (AWS)
April 2023 (document history)
Customers have asked for the right solution to safeguard their data on Microsoft SQL Server on Amazon Elastic Compute Cloud (Amazon EC2) and meet their current requirements for Recovery Point Objective (RPO), the maximum acceptable amount of time since the last backup, and Recovery Time Objective (RTO), the maximum acceptable delay between the interruption of service and restoration of service. When you are running SQL Server on EC2 instances, you have multiple options for creating backups of the data and also restoring it.
Backup strategies for safeguarding data for SQL Server on Amazon EC2 include the following:
Server-level backup using Windows Volume Shadow Copy Service (VSS)-enabled Amazon Elastic Block Store (Amazon EBS)
snapshots or AWS Backup Database-level backup using native backup and restore
When you choose database-level native backup, you have the following storage options:
An Amazon EBS volume
An Amazon FSx for Windows File Server file system
Amazon Simple Storage Service (Amazon S3), using AWS Storage Gateway
This guide compares these options, including the benefits and limitations of each. It will also compare the performance of each option for a sample 1 TB database: