November 18, 2021 by Admin
A company’s data retention policy dictates that backups be stored for exactly two years. After that time, the data must be deleted.
How can Amazon EBS snapshots be managed to conform to this data retention policy?
- Use an Amazon S3 lifecycle policy to delete snapshots older than two years.
- Configure Amazon Inspector to find and delete old EBS snapshots.
- Schedule an AWS Lambda function using Amazon CloudWatch Events to periodically run a script to delete old snapshots.
- Configure an Amazon CloudWatch alarm to trigger the launch of an AWS CloudFormation template that will clean the older snapshots.