Prepare to work with AWS RDS SQL Server
Architecture
Actions
Backup of the RDS database to S3 bucket
Mount the S3 bucket as a directory on the staging host
Mount Accelario disk to the staging server
Restore from the mounted directory to staging SQL Server instance (the instance is located on Accelario disk that was mounted in the previous action)
Create standard VDB
Prerequisites
RDS SQL Server instance
Staging EC2 Windows server with SQL Server instance up and running - same version as the RDS database
Preparations
Create a Standard S3 Bucket with a one folder inside.
Create IAM policy. It will be used for S3 bucket access from both RDS and EC2 servers.
Setup transaction log copy to s3, use the same bucket as point 1 above.
exec msdb.dbo.rds_tlog_copy_setup @target_s3_arn='arn:aws:s3:::amzn-s3-demo-logging-bucket1/mynewfolder';
Source/Staging host config
Install
s3fs
on Staging Server.Apply the IAM role to the server, so it will be able to read the S3 bucket.
Make sure that it has an SQL Server instance up and running - same version as the RDS database