Backup Report EBS usage

0

Hello everyone,

I wuold like to use your service Amazon Data Lifecicle Manager for backing up my infrastructure and I need to create a report that say me the single EC2 snapshot occupation (TB o GB). How can do I do this? Can I use Tags per machine or per backup job?

Thank you in advance Regards,

1回答
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

profile picture
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ