1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Yes, you can use Amazon DLM to manage your EC2 snapshots by following these steps
- Use Amazon DLM to create a backup policy for your EC2 instances
- Assign appropriate tags to each policy to differentiate between instances or backup jobs
- Use the AWS CLI to list all the snapshots created by your DLM policy aws ec2 describe-snapshots --filters "Name=tag-key,Values=BackupJob"
- Parse the output to calculate the storage usage for each snapshot. (Field : VolumeSize)
- Create a script that automates the process of retrieving snapshot information and calculating storage usage
Optionally, you can use AWS Lambda and Amazon CloudWatch Events to automate the generation and delivery of reports
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren