testing
A Snapshot is a point in time copy of volume which is used for backup & recovery. A snapshot is used to create a known state of volume & restore it when needed. In this post we are going to look in to how snapshots can be used as backup of EBS volumes.
Snapshot management consists of number of different steps. Search for volumes which are tagged for backup. Create snapshot of volumes and tag snapshots, add description to snapshots; delete snapshots that are older than the retention period. So, how we can schedule or automate these steps?
We will be using Amazon CloudWatch Events. It allows to automate things based on events happening in AWS infra. CloudWatch Events integrates with AWS Lambda. Meaning you can execute your code with Lambda Function in response to an event or schedule using CloudWatch Events. In this case we are going to have two Lambda Functions; 1. Create snapshots, tag them & 2. Delete snapshots. And these steps should be in sequence.
0 comments:
Post a Comment