This template moves the logs present in the log folder of EC2 machine and transfers them into a specified S3 Bucket. This practice helps you to store as much logs as you want in the S3 bucket without worrying about the disk sapce in the machine.
Exporting data from dynamoDB to S3 is one of the best AWS backup strategies and successfully safeguards your data. In cases of accidental deletion of data, you can restore the data from a previous export file in Amazon S3. You can even copy data from a DynamoDB table in one AWS region, store the data in Amazon S3, and then import the data from Amazon S3 to an identical DynamoDB table in a second region.
This feature will enable you to verify the integrity of your CloudTrail log files and determine whether the files have been changed after they have been delivered to the selected S3 bucket. The validation of log file integrity uses industry-standard algorithms such as SHA-256 which makes it impossible to change files without detection.