Currently we have a few clients that utilize AWS as part of their DR solution (upcoming articles). Part of this process has us store the larger base images on EBS storeas. This allows us to save time during the restore process. The code below will take a specific set of Keys (S3 term for Folders) and copy them to a local path, matching the folder name. This script requires that the AWS Powershell tools be installed.
A few of my clients currenlty have some simple windows server on AWS. In order to save costs we wanted to utilize some of the storage tools that AWS provides. We settled on EBS snapshots for VM level backup and then doing a flat file copy to S3. For this particular client we enabled versioning on S3 in order to retain multiple version.
Here is the script to backup the files:
Backup to S3 and Snapshots - BackuptoS3_Snapshots.ps1